/*
Theme Name: Overcomers International
Theme URI: https://www.overcomers.love/
Author: Boloforge / Antigravity
Author URI: https://www.boloforge.com/
Description: A Spirit-filled, cinematic WordPress theme for Overcomers International church — built with glassmorphism, scroll animations, and a premium dark aesthetic.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oi-theme
Tags: church, dark, glassmorphism, responsive, one-page
*/

/* ===========================
   DESIGN SYSTEM — Overcomers International
   =========================== */

:root {
  /* Colors */
  --color-midnight: #08111F;
  --color-deep: #0C1829;
  --color-navy: #101E33;
  --color-royal: #5B2D91;
  --color-violet: #8F6BFF;
  --color-violet-soft: rgba(143, 107, 255, 0.15);
  --color-gold: #D4AF37;
  --color-gold-soft: rgba(212, 175, 55, 0.15);
  --color-white: #FFFFFF;
  --color-text: #E8E4F0;
  --color-text-muted: #A09BB0;
  --color-glass-bg: rgba(255, 255, 255, 0.02);
  --color-glass-border: rgba(255, 255, 255, 0.04);
  --color-glass-hover: rgba(255, 255, 255, 0.05);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-round: 50%;

  /* Shadows */
  --shadow-glow-violet: 0 0 40px rgba(143, 107, 255, 0.2);
  --shadow-glow-gold: 0 0 40px rgba(212, 175, 55, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.4);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1280px;
  --navbar-height: 80px;
}

/* ===========================
   RESET & BASE
   =========================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-midnight);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* WordPress admin bar offset */
body.admin-bar .navbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px;
  }
}

.global-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -20;
  object-fit: cover;
}

.global-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  background: linear-gradient(
    180deg,
    rgba(8, 17, 31, 0.4) 0%,
    rgba(8, 17, 31, 0.6) 40%,
    rgba(8, 17, 31, 0.7) 80%,
    rgba(8, 17, 31, 0.85) 100%
  );
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===========================
   LAYOUT
   =========================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

/* ===========================
   UTILITY CLASSES
   =========================== */

.text-gradient {
  background: linear-gradient(135deg, var(--color-gold), var(--color-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-highlight {
  color: var(--color-gold);
  font-weight: 700;
}

/* ===========================
   GLASSMORPHISM CARDS
   =========================== */

.glass-card {
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--color-glass-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-royal), var(--color-violet));
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(91, 45, 145, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 6px 30px rgba(91, 45, 145, 0.5);
  transform: translateY(-2px);
}

.btn--glow {
  box-shadow: 0 4px 20px rgba(143, 107, 255, 0.3), 0 0 60px rgba(143, 107, 255, 0.1);
}

.btn--glow:hover {
  box-shadow: 0 6px 30px rgba(143, 107, 255, 0.5), 0 0 80px rgba(143, 107, 255, 0.15);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  backdrop-filter: blur(8px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--color-gold);
}

.btn--outline:hover {
  background: var(--color-gold-soft);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
}

/* ===========================
   SECTION HEADERS
   =========================== */

.section-header {
  text-align: left;
  margin-bottom: var(--space-xl);
  max-width: 800px;
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
}

/* ===========================
   SCROLL REVEAL ANIMATIONS
   =========================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   FORM ELEMENTS
   =========================== */

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-violet);
  box-shadow: 0 0 20px rgba(143, 107, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-midnight); }
::-webkit-scrollbar-thumb { background: rgba(143, 107, 255, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(143, 107, 255, 0.5); }

::selection { background: rgba(143, 107, 255, 0.3); color: var(--color-white); }

/* ===========================
   NAVBAR
   =========================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(35, 15, 65, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.navbar__logo img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-round);
  object-fit: cover;
}

.navbar__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-violet), var(--color-gold));
  border-radius: 1px;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.navbar__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__toggle.active span:nth-child(2) { opacity: 0; }
.navbar__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .navbar__toggle { display: flex; }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(35, 15, 65, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navbar__links.open { right: 0; }
  .nav-link { font-size: 1.3rem; padding: 1rem 2rem; }
  .navbar__brand { font-size: 0.95rem; }
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.45) 0%, rgba(8, 17, 31, 0.8) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding-top: calc(var(--navbar-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.hero__text-box {
  flex: 1;
  max-width: 550px;
}

.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s 0.2s both;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s 0.4s both;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 0 var(--space-lg) 0;
  animation: fadeInUp 1s 0.6s both;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s 0.8s both;
}

.hero__info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  max-width: 320px;
  width: 100%;
  animation: fadeInUp 1s 1s both;
  background: var(--color-glass-bg);
  backdrop-filter: blur(24px);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.info-item__icon { font-size: 1.5rem; }

.info-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-white);
  font-weight: 600;
}

.info-item span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.info-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 1s 1.2s both;
}

.hero__scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(212, 175, 55, 0.5);
  border-bottom: 2px solid rgba(212, 175, 55, 0.5);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   QUICK ACTIONS
   =========================== */

.quick-actions {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-3xl);
}

.quick-actions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  cursor: pointer;
  text-decoration: none;
}

.quick-card__icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.2), rgba(143, 107, 255, 0.1));
  color: var(--color-violet);
  margin-bottom: var(--space-md);
  transition: var(--transition-smooth);
}

.quick-card:hover .quick-card__icon {
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.4), rgba(143, 107, 255, 0.25));
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-violet);
}

.quick-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.quick-card p { font-size: 0.9rem; }

/* ===========================
   IDENTITY SECTION
   =========================== */

.identity { overflow: hidden; }

.identity__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 45, 145, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.identity__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.identity__card {
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.identity__card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-violet), var(--color-gold));
  border-radius: 2px;
}

.identity__card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.identity__card blockquote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
  font-style: italic;
}

.identity__card blockquote em {
  font-style: normal;
  color: var(--color-text-muted);
}

.identity__card p { font-size: 1rem; line-height: 1.8; }

.identity__card--slogan {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.1), rgba(143, 107, 255, 0.05));
}

.slogan-content { position: relative; }

.slogan-content h3 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

.slogan-quote {
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--color-gold);
  opacity: 0.3;
  line-height: 0;
  vertical-align: middle;
}

.slogan-quote--end { vertical-align: bottom; }

/* ===========================
   ABOUT PREVIEW
   =========================== */

.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-preview__text .section-title,
.about-preview__text .section-eyebrow { text-align: left; }

.about-preview__desc {
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-preview__image-wrapper {
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.1), rgba(212, 175, 55, 0.05));
}

.about-preview__image {
  max-width: 280px;
  border-radius: var(--radius-md);
}

/* ===========================
   WATCH / FEATURED SERMON
   =========================== */

.watch__featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  overflow: hidden;
}

.watch__video {
  position: relative;
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.2), rgba(8, 17, 31, 0.8));
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.watch__info {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.watch__badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--color-royal), var(--color-violet));
  color: var(--color-white);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-sm);
  width: fit-content;
}

.watch__info h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.watch__speaker, .watch__date { font-size: 0.9rem; margin-bottom: 0.25rem; }
.watch__excerpt { margin-bottom: var(--space-md); font-size: 0.95rem; }

.watch__archive-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

/* Sermon Archive Carousel */
.ip-sermon-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ip-sermon-carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 var(--space-sm);
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(143, 107, 255, 0.15) transparent;
  -webkit-overflow-scrolling: touch;
}

.ip-sermon-carousel::-webkit-scrollbar { height: 6px; }
.ip-sermon-carousel::-webkit-scrollbar-track { background: transparent; }
.ip-sermon-carousel::-webkit-scrollbar-thumb { background: rgba(143, 107, 255, 0.1); border-radius: 3px; }
.ip-sermon-carousel:hover::-webkit-scrollbar-thumb { background: rgba(143, 107, 255, 0.5); }
.ip-sermon-carousel:hover { scrollbar-color: rgba(143, 107, 255, 0.5) transparent; }

.ip-sermon-archive-card {
  padding: var(--space-sm);
  cursor: pointer;
}

.ip-sermon-archive-card__thumb {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-glass-bg);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.ip-sermon-archive-card__thumb:hover { transform: scale(1.03); }

.ip-sermon-archive-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  transition: background var(--transition-smooth);
}

.ip-sermon-archive-card__thumb:hover::after { background: rgba(0,0,0,0.1); }

.ip-sermon-archive-card__thumb svg {
  z-index: 2;
  transition: transform var(--transition-smooth);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.ip-sermon-archive-card__thumb:hover svg { transform: scale(1.1); }

.ip-sermon-archive-card__info h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.ip-sermon-archive-card__info p { font-size: 0.85rem; margin-bottom: 0.5rem; }

.ip-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-violet);
  border: 1px solid rgba(143, 107, 255, 0.3);
  border-radius: var(--radius-xl);
}

.ip-sermon-carousel .ip-sermon-archive-card {
  min-width: 220px;
  max-width: 220px;
  flex: 0 0 220px;
  scroll-snap-align: start;
  padding: var(--space-xs);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.ip-sermon-carousel .ip-sermon-archive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ip-sermon-carousel .ip-sermon-archive-card__thumb {
  height: 120px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.ip-sermon-carousel .ip-sermon-archive-card__thumb svg { width: 36px; height: 36px; }
.ip-sermon-carousel .ip-sermon-archive-card__info { padding: 0.5rem 0.25rem 0.25rem; }

.ip-sermon-carousel .ip-sermon-archive-card__info h4 {
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.15rem;
}

.ip-sermon-carousel .ip-sermon-archive-card__info p { font-size: 0.7rem; margin-bottom: 0.25rem; }
.ip-sermon-carousel .ip-tag { font-size: 0.6rem; padding: 0.15rem 0.5rem; }

/* ===========================
   EVENTS
   =========================== */

.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.event-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
}

.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.3), rgba(143, 107, 255, 0.1));
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.event-card__month {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-violet);
}

.event-card__day {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
}

.event-card__info { flex: 1; }
.event-card__info h4 { margin-bottom: 0.25rem; }

.event-card__time {
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.event-card__info p { font-size: 0.9rem; margin-bottom: 0.75rem; }

/* ===========================
   MINISTRIES
   =========================== */

.ministries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.ministry-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.ministry-card__icon { font-size: 2.5rem; margin-bottom: var(--space-sm); }
.ministry-card h4 { margin-bottom: 0.5rem; }
.ministry-card p { font-size: 0.9rem; margin-bottom: var(--space-md); }

/* ===========================
   TESTIMONIALS
   =========================== */

.testimonials { overflow: hidden; }

.testimonials__slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  min-height: 280px;
}

.testimonial-card {
  padding: var(--space-lg);
  text-align: center;
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.testimonial-card.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-card__quote {
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--color-gold);
  opacity: 0.3;
  line-height: 0.5;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  background: linear-gradient(135deg, var(--color-royal), var(--color-violet));
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-card__author strong { display: block; color: var(--color-white); font-size: 0.95rem; }
.testimonial-card__author span { font-size: 0.8rem; color: var(--color-gold); }

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.testimonials__dots .dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.testimonials__dots .dot.active {
  background: var(--color-violet);
  width: 30px;
  border-radius: 5px;
}

/* ===========================
   GIVING
   =========================== */

.giving { overflow: hidden; }

.giving__glow {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.giving__content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.giving__text .section-title,
.giving__text .section-eyebrow { text-align: left; }

.giving__text p { font-size: 1.05rem; line-height: 1.8; }

.giving__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: stretch;
}

.giving__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* ===========================
   CONNECT
   =========================== */

.connect__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.connect__form-wrapper { padding: var(--space-lg); }
.connect__form-wrapper h3 { font-size: 1.25rem; margin-bottom: var(--space-md); }

.connect__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.connect__info-card { padding: var(--space-md); }

.connect__info-card h3 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--color-gold);
}

.connect__times { display: flex; flex-direction: column; gap: 0.5rem; }

.connect__times li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.connect__times li strong { color: var(--color-text); font-weight: 500; }
.connect__times li span { color: var(--color-violet); font-weight: 500; }

.connect__address,
.connect__phone,
.connect__email { font-size: 0.9rem; margin-bottom: 0.25rem; }

.connect__social { display: flex; gap: 0.75rem; }

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--color-royal), var(--color-violet));
  border-color: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-violet);
}

/* Legacy map stubs removed — see .connect__map-panel below */

.connect__visitor {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  text-align: center;
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.08), rgba(212, 175, 55, 0.05));
}

.connect__visitor h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.connect__visitor p { max-width: 600px; margin: 0 auto var(--space-md); }

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: rgba(35, 15, 65, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__logo {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-round);
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.footer__statement { font-size: 0.88rem; line-height: 1.7; }

.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer__nav ul li { margin-bottom: 0.5rem; }

.footer__nav ul li a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.footer__nav ul li a:hover { color: var(--color-white); padding-left: 4px; }

.footer__times ul li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer__times ul li strong { color: var(--color-text); }
.footer__contact p { font-size: 0.88rem; margin-bottom: 0.5rem; }

.footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.footer__social a:hover {
  background: linear-gradient(135deg, var(--color-royal), var(--color-violet));
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer__newsletter p { font-size: 0.88rem; margin-bottom: var(--space-sm); }

.footer__newsletter-form { display: flex; gap: 0.5rem; }

.footer__newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-white);
  outline: none;
  transition: var(--transition-smooth);
}

.footer__newsletter-form input::placeholder { color: var(--color-text-muted); }
.footer__newsletter-form input:focus { border-color: var(--color-violet); box-shadow: 0 0 15px rgba(143, 107, 255, 0.15); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-md);
  text-align: center;
}

.footer__bottom p { font-size: 0.82rem; color: var(--color-text-muted); }

/* ===========================
   INNER PAGES
   =========================== */

.page-hero {
  position: relative;
  padding: calc(var(--navbar-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 17, 31, 0.6) 0%, rgba(91, 45, 145, 0.15) 50%, rgba(8, 17, 31, 0.4) 100%);
  z-index: -1;
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(143, 107, 255, 0.08) 0%, transparent 70%);
}

.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: var(--space-sm); }

.page-hero__subtitle {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

.ip-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.ip-two-col__text p { font-size: 1.05rem; line-height: 1.8; margin-bottom: var(--space-sm); }
.ip-two-col__media { display: flex; justify-content: center; }

.ip-image-card {
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ip-image-card img { max-width: 300px; border-radius: var(--radius-md); }

.ip-cards-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.ip-feature-card {
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.ip-feature-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-violet), var(--color-gold));
  border-radius: 2px;
}

.ip-feature-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.ip-feature-card p { font-size: 1rem; line-height: 1.8; }

.ip-beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.ip-belief-card { padding: var(--space-md); }
.ip-belief-card h4 { color: var(--color-gold); margin-bottom: 0.5rem; }
.ip-belief-card p { font-size: 0.95rem; }

.ip-leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  max-width: 700px;
  margin: 0 auto;
}

.ip-leader-card { text-align: center; padding: var(--space-lg); }

.ip-leader-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-round);
  background: linear-gradient(135deg, var(--color-royal), var(--color-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.ip-leader-card__avatar span {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
}

.ip-leader-card__role { color: var(--color-gold); font-size: 0.85rem; font-weight: 500; margin-bottom: 0.5rem; }

.ip-expect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.ip-expect-card { padding: var(--space-md); text-align: center; }

.ip-expect-card__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-violet), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.ip-expect-card h4 { margin-bottom: 0.5rem; }

.ip-cta-center { text-align: center; margin-top: var(--space-xl); }

.ip-scripture {
  border-left: 3px solid var(--color-gold);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.ip-scripture em { font-size: 1.1rem; line-height: 1.7; color: var(--color-text); }

.ip-scripture cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-gold);
  font-style: normal;
  font-weight: 600;
}

.ip-give-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.ip-give-option { text-align: center; padding: var(--space-lg); }
.ip-give-option__icon { font-size: 2.5rem; margin-bottom: var(--space-sm); }
.ip-give-option h3 { margin-bottom: 0.5rem; }
.ip-give-option p { font-size: 0.95rem; margin-bottom: var(--space-md); }
.ip-give-option__address { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; }

.ip-stewardship {
  padding: var(--space-xl);
  text-align: center;
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.08), rgba(212, 175, 55, 0.05));
}

.ip-stewardship h3 { margin-bottom: var(--space-sm); color: var(--color-gold); }
.ip-stewardship p { max-width: 700px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; }

.ip-faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.ip-faq { overflow: hidden; }

.ip-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}

.ip-faq__question:hover { color: var(--color-gold); }

.ip-faq__toggle {
  font-size: 1.5rem;
  color: var(--color-violet);
  transition: var(--transition-smooth);
}

.ip-faq.open .ip-faq__toggle { transform: rotate(45deg); }

.ip-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 var(--space-md);
}

.ip-faq.open .ip-faq__answer {
  max-height: 200px;
  padding: 0 var(--space-md) var(--space-md);
}

.ip-faq__answer p { font-size: 0.95rem; line-height: 1.7; }

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .quick-actions__grid { grid-template-columns: repeat(2, 1fr); }
  .identity__grid { grid-template-columns: 1fr; }
  .watch__featured { grid-template-columns: 1fr; }
  .watch__video { min-height: 250px; }
  .events__grid { grid-template-columns: repeat(2, 1fr); }
  .ministries__grid { grid-template-columns: repeat(2, 1fr); }
  .giving__content { grid-template-columns: 1fr; text-align: center; }
  .giving__text .section-title, .giving__text .section-eyebrow { text-align: center; }
  .hero__content { flex-direction: column; justify-content: center; text-align: center; padding-top: calc(var(--navbar-height) + var(--space-lg)); }
  .hero__eyebrow { text-align: center; }
  .hero__cta-group { justify-content: center; }
  .ip-two-col { grid-template-columns: 1fr; }
  .ip-cards-two { grid-template-columns: 1fr; }
  .ip-beliefs-grid { grid-template-columns: repeat(2, 1fr); }
  .ip-expect-grid { grid-template-columns: repeat(2, 1fr); }
  .ip-give-options { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --space-3xl: 5rem; --space-2xl: 4rem; }
  .container { padding: 0 1.25rem; }
  .about-preview__grid { grid-template-columns: 1fr; text-align: center; }
  .about-preview__text .section-title, .about-preview__text .section-eyebrow { text-align: center; }
  .about-preview__media { order: -1; }
  .connect__grid { grid-template-columns: 1fr; }
  .hero__info-panel { flex-direction: column; align-items: center; padding: var(--space-md); max-width: 100%; }
  .info-item { flex-direction: column; text-align: center; gap: 0.5rem; }
  .info-divider { width: 100%; height: 1px; }
  .hero__cta-group { flex-direction: column; width: 100%; }
  .hero__cta-group .btn { width: 100%; max-width: 350px; }
  .events__grid { grid-template-columns: 1fr; }
  .ministries__grid { grid-template-columns: 1fr; }
  .event-card { flex-direction: column; align-items: center; text-align: center; }
  .ip-beliefs-grid { grid-template-columns: 1fr; }
  .ip-expect-grid { grid-template-columns: 1fr; }
  .ip-sermon-carousel .ip-sermon-archive-card { min-width: 180px; max-width: 180px; flex: 0 0 180px; }
  .ip-sermon-carousel .ip-sermon-archive-card__thumb { height: 100px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}

@media (max-width: 480px) {
  :root { --space-3xl: 3.5rem; --space-2xl: 3rem; }
  .container { padding: 0 1rem; }
  .quick-actions__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.3rem; }
  .slogan-content h3 { font-size: 1.3rem; }
  .navbar__brand { font-size: 0.85rem; }
  .testimonials__slider { min-height: 380px; }
  .testimonial-card p { font-size: 1rem; }
  .btn--lg { padding: 0.9rem 2rem; font-size: 1rem; }
  .about-preview__image { max-width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__newsletter-form { flex-direction: column; }
}

/* ===========================
   PAGE CONTENT — TRANSPARENT BACKGROUNDS
   (Ensures bg.js canvas shows through on ALL pages)
   =========================== */

.page-content,
.page-body,
main {
  background: transparent;
}

/* Ensure WordPress block editor content doesn't add opaque bg */
.entry-content,
.wp-block-group,
.wp-block-column {
  background: transparent;
}

/* ===========================
   CONNECT SECTION
   =========================== */

.connect__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.connect__form-wrapper {
  padding: var(--space-lg);
}

.connect__form-wrapper h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.connect__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.connect__info-card {
  padding: var(--space-md);
}

.connect__info-card h3 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--color-gold);
}

.connect__times {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.connect__times li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.connect__times li strong {
  color: var(--color-text);
  font-weight: 500;
}

.connect__times li span {
  color: var(--color-violet);
  font-weight: 500;
}

.connect__address,
.connect__phone,
.connect__email {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.connect__social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--color-royal), var(--color-violet));
  border-color: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-violet);
}

/* ===========================
   INTERACTIVE MAP PANEL
   Two-column glass-card — map left, info right.
   =========================== */

.connect__map-panel {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  min-height: 400px;
  overflow: hidden;
  margin-top: var(--space-xl);
  padding: 0;
}

/* Left — full-bleed map fills the entire left column */
.connect__map-panel__map {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.connect__map-panel__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* Dark-mode filter — inverts the map palette to match the midnight theme */
  filter: invert(92%) hue-rotate(180deg) brightness(0.85) contrast(0.88) saturate(0.65);
  transition: filter 0.4s ease;
}

.connect__map-panel:hover .connect__map-panel__map iframe {
  filter: invert(92%) hue-rotate(180deg) brightness(0.78) contrast(0.85) saturate(0.6);
}

/* Right — info panel with consistent internal padding */
.connect__map-panel__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-left: 1px solid var(--color-glass-border);
}

/* Purple gradient pin icon */
.connect__map-panel__pin {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-royal), var(--color-violet));
  color: var(--color-white);
  flex-shrink: 0;
}

/* Label + address */
.connect__map-panel__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.connect__map-panel__address address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
}

/* Service schedule list */
.connect__map-panel__schedule {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid var(--color-glass-border);
  padding-top: var(--space-sm);
  margin-top: 0.25rem;
}

.connect__map-panel__schedule li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.87rem;
  gap: 0.5rem;
}

.connect__map-panel__schedule li span {
  color: var(--color-text-muted);
}

.connect__map-panel__schedule li strong {
  color: var(--color-violet);
  font-weight: 600;
  white-space: nowrap;
}

/* CTA buttons */
.connect__map-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.25rem;
}

/* Map panel — responsive */
@media (max-width: 1024px) {
  .connect__map-panel {
    grid-template-columns: 1fr;
  }
  .connect__map-panel__map {
    min-height: 300px;
  }
  .connect__map-panel__info {
    border-left: none;
    border-top: 1px solid var(--color-glass-border);
  }
  .connect__map-panel__actions {
    flex-direction: row;
  }
  .connect__map-panel__actions .btn {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .connect__map-panel__map { min-height: 240px; }
  .connect__map-panel__info { padding: var(--space-md); }
}

@media (max-width: 480px) {
  .connect__map-panel__map { min-height: 200px; }
  .connect__map-panel__actions {
    flex-direction: column;
  }
}

/* First-time visitor card */
.connect__visitor {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  text-align: center;
}

/* Connect map (homepage placeholder version) */
.connect__map {
  margin-top: var(--space-xl);
  overflow: hidden;
}

.connect__map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: var(--space-xl);
  gap: var(--space-sm);
  color: var(--color-text-muted);
}

/* ===========================
   INNER PAGES SHARED STYLES
   =========================== */

/* PAGE HERO */
.page-hero {
  position: relative;
  padding: calc(var(--navbar-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 17, 31, 0.6) 0%,
    rgba(91, 45, 145, 0.15) 50%,
    rgba(8, 17, 31, 0.4) 100%
  );
  z-index: -1;
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(143, 107, 255, 0.08) 0%, transparent 70%);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-sm);
}

.page-hero__subtitle {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

/* TWO COLUMN LAYOUT */
.ip-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.ip-two-col__text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.ip-two-col__media {
  display: flex;
  justify-content: center;
}

.ip-image-card {
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ip-image-card img {
  max-width: 300px;
  border-radius: var(--radius-md);
}

/* CARDS TWO */
.ip-cards-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.ip-feature-card {
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.ip-feature-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-violet), var(--color-gold));
  border-radius: 2px;
}

.ip-feature-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.ip-feature-card p {
  font-size: 1rem;
  line-height: 1.8;
}

/* BELIEFS GRID */
.ip-beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.ip-belief-card {
  padding: var(--space-md);
}

.ip-belief-card h4 {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.ip-belief-card p {
  font-size: 0.95rem;
}

/* LEADERS GRID */
.ip-leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  max-width: 700px;
  margin: 0 auto;
}

.ip-leader-card {
  text-align: center;
  padding: var(--space-lg);
}

.ip-leader-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-round);
  background: linear-gradient(135deg, var(--color-royal), var(--color-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.ip-leader-card__avatar span {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
}

.ip-leader-card__role {
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* WHAT TO EXPECT */
.ip-expect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.ip-expect-card {
  padding: var(--space-md);
  text-align: center;
}

.ip-expect-card__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-violet), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.ip-expect-card h4 {
  margin-bottom: 0.5rem;
}

/* CENTERED CTA */
.ip-cta-center {
  text-align: center;
  margin-top: var(--space-xl);
}

/* LIVESTREAM */
.ip-livestream {
  overflow: hidden;
}

.ip-livestream__player {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 450px;
  color: var(--color-violet);
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.1), rgba(8, 17, 31, 0.6));
  cursor: pointer;
}

.ip-livestream__player span {
  font-family: var(--font-heading);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* SEARCH */
.ip-search {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-xl);
}

.ip-search__input {
  flex: 1;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-smooth);
}

.ip-search__input::placeholder {
  color: var(--color-text-muted);
}

.ip-search__input:focus {
  border-color: var(--color-violet);
}

.ip-search__select {
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
}

/* SERMON ARCHIVE GRID */
.ip-sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.ip-sermon-archive-card {
  padding: var(--space-sm);
  cursor: pointer;
}

.ip-sermon-archive-card__thumb {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-glass-bg);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth);
}
.ip-sermon-archive-card__thumb:hover {
  transform: scale(1.03);
}
.ip-sermon-archive-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  transition: background var(--transition-smooth);
}
.ip-sermon-archive-card__thumb:hover::after {
  background: rgba(0,0,0,0.1);
}
.ip-sermon-archive-card__thumb svg {
  z-index: 2;
  transition: transform var(--transition-smooth);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}
.ip-sermon-archive-card__thumb:hover svg {
  transform: scale(1.1);
}

.ip-sermon-archive-card__info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.ip-sermon-archive-card__info p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.ip-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-violet);
  border: 1px solid rgba(143, 107, 255, 0.3);
  border-radius: var(--radius-xl);
}

/* DEVOTIONAL */
.ip-devotional-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.ip-devotional-card {
  text-align: center;
  padding: var(--space-lg);
}

.ip-devotional-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.ip-devotional-card h4 {
  margin-bottom: 0.5rem;
}

.ip-devotional-card p {
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

/* MINISTRY DETAIL */
.ip-ministry-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.ip-ministry-detail {
  padding: var(--space-lg);
}

.ip-ministry-detail__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.ip-ministry-detail__icon {
  font-size: 2rem;
}

.ip-ministry-detail__header h3 {
  font-size: 1.2rem;
}

.ip-ministry-detail p {
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.ip-ministry-detail__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* FEATURED EVENT */
.ip-featured-event {
  text-align: center;
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.12), rgba(212, 175, 55, 0.05));
}

.ip-featured-event__badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--color-royal), var(--color-violet));
  color: var(--color-white);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-md);
}

.ip-featured-event h2 {
  margin-bottom: 0.5rem;
}

.ip-featured-event__date {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.ip-featured-event p {
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

/* EVENTS LIST */
.ip-events-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.ip-event-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
}

.ip-event-row__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.3), rgba(143, 107, 255, 0.1));
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.ip-event-row__month {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-violet);
}

.ip-event-row__day {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
}

.ip-event-row__info {
  flex: 1;
}

.ip-event-row__info h4 {
  margin-bottom: 0.25rem;
}

.ip-event-row__info p {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.ip-event-row__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* GIVE - IMPACT */
.ip-give-impact {
  padding: var(--space-lg);
}

.ip-give-impact h3 {
  color: var(--color-gold);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.ip-give-impact__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ip-give-impact__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.ip-give-impact__icon {
  font-size: 1.3rem;
}

/* GIVE OPTIONS */
.ip-give-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.ip-give-option {
  text-align: center;
  padding: var(--space-lg);
}

.ip-give-option__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.ip-give-option h3 {
  margin-bottom: 0.5rem;
}

.ip-give-option p {
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.ip-give-option__address {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* SCRIPTURE BLOCKQUOTE */
.ip-scripture {
  border-left: 3px solid var(--color-gold);
  padding: var(--space-md) var(--space-md);
  margin: var(--space-md) 0;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.ip-scripture em {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.ip-scripture cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-gold);
  font-style: normal;
  font-weight: 600;
}

/* STEWARDSHIP */
.ip-stewardship {
  padding: var(--space-xl);
  text-align: center;
  background: linear-gradient(135deg, rgba(91, 45, 145, 0.08), rgba(212, 175, 55, 0.05));
}

.ip-stewardship h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-gold);
}

.ip-stewardship p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* VISIT GRID */
.ip-visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.ip-visit-card {
  padding: var(--space-md);
  text-align: center;
}

.ip-visit-card__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-violet), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.ip-visit-card h4 {
  margin-bottom: 0.5rem;
}

/* FAQ */
.ip-faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.ip-faq {
  overflow: hidden;
}

.ip-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}

.ip-faq__question:hover {
  color: var(--color-gold);
}

.ip-faq__toggle {
  font-size: 1.5rem;
  color: var(--color-violet);
  transition: var(--transition-smooth);
}

.ip-faq.open .ip-faq__toggle {
  transform: rotate(45deg);
}

.ip-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 var(--space-md);
}

.ip-faq.open .ip-faq__answer {
  max-height: 200px;
  padding: 0 var(--space-md) var(--space-md);
}

.ip-faq__answer p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===========================
   INNER PAGE RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .ip-two-col { grid-template-columns: 1fr; }
  .ip-cards-two { grid-template-columns: 1fr; }
  .ip-beliefs-grid { grid-template-columns: repeat(2, 1fr); }
  .ip-expect-grid { grid-template-columns: repeat(2, 1fr); }
  .ip-sermon-grid { grid-template-columns: repeat(2, 1fr); }
  .ip-devotional-grid { grid-template-columns: 1fr; }
  .ip-ministry-detail-grid { grid-template-columns: 1fr; }
  .ip-give-options { grid-template-columns: 1fr; }
  .ip-visit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ip-beliefs-grid { grid-template-columns: 1fr; }
  .ip-expect-grid { grid-template-columns: 1fr; }
  .ip-sermon-grid { grid-template-columns: 1fr; }
  .ip-search { flex-direction: column; }
  .ip-event-row { flex-direction: column; text-align: center; }
  .ip-event-row__actions { justify-content: center; }
  .connect__grid { grid-template-columns: 1fr; }
}

/* ===========================
   ELEMENTOR COMPATIBILITY
   =========================== */

/* Prevent Elementor from overriding our custom styles */
.elementor-section .container { max-width: var(--container-max); }
.elementor-widget-container .btn { display: inline-flex; }
/* Allow our nav/footer to always override Elementor */
#navbar, #footer { z-index: 1000; }
/* Ensure Elementor containers are transparent for canvas bg */
.elementor .elementor-element { background: transparent; }

/* ===========================
   MOBILE — STATIC CANVAS FALLBACK
   bg.js skips animation below 768px; show a rich gradient instead.
   =========================== */

@media (max-width: 767px) {
  body {
    background: linear-gradient(
      160deg,
      #08111F 0%,
      #0C1829 30%,
      #101E33 60%,
      #0C1829 100%
    );
    background-attachment: fixed;
  }

  /* Reduce backdrop-filter cost on mobile — blur(20px) is GPU-heavy */
  .glass-card {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .navbar.scrolled {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .footer {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

/* ===========================
   SKIP-TO-CONTENT LINK (Accessibility)
   =========================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 10000;
  background: var(--color-violet);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: none;
}

.skip-link:focus {
  left: 1rem;
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

/* ===========================
   FORM ERROR STATES
   =========================== */

.form-group input.input-error,
.form-group textarea.input-error,
.form-group select.input-error {
  border-color: rgba(220, 80, 80, 0.7);
  box-shadow: 0 0 12px rgba(220, 80, 80, 0.15);
}

.form-error {
  display: block;
  color: #e07878;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  padding-left: 0.25rem;
  animation: fadeInUp 0.3s ease both;
}

/* ===========================
   TOAST NOTIFICATION SYSTEM
   =========================== */

.oi-toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
  max-width: 380px;
  width: calc(100% - 2rem);
}

.oi-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-elevated);
  pointer-events: auto;
  animation: toastSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  position: relative;
}

.oi-toast--success,
.oi-toast--prayer,
.oi-toast--info {
  background: rgba(12, 24, 41, 0.96);
  border-color: rgba(143, 107, 255, 0.25);
}

.oi-toast--error {
  background: rgba(30, 10, 10, 0.96);
  border-color: rgba(220, 80, 80, 0.3);
}

.oi-toast--leaving {
  animation: toastSlideOut 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.oi-toast__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.oi-toast__body {
  flex: 1;
}

.oi-toast__body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}

.oi-toast__body p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.oi-toast__close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color var(--transition-fast);
  align-self: flex-start;
}

.oi-toast__close:hover { color: var(--color-white); }

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}

@media (max-width: 480px) {
  .oi-toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: 100%;
    width: auto;
  }

  @keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes toastSlideOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(100%); }
  }
}

/* ===========================
   IMPROVED TEXT CONTRAST
   --color-text-muted boosted from #A09BB0 to #B8B3C8 for WCAG AA
   =========================== */

:root {
  --color-text-muted: #B8B3C8;
}

/* ===========================
   INTERACTIVE MAP PANEL
   Two-column glass-card — map left, info right.
   Mirrors the .watch__featured pattern for visual consistency.
   =========================== */

.connect__map-panel {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  min-height: 400px;
  overflow: hidden;        /* clips iframe and map to panel border-radius */
  margin-top: var(--space-xl);
  padding: 0;              /* map must bleed edge-to-edge on the left */
}

/* Left — full-bleed map fills the entire left column */
.connect__map-panel__map {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.connect__map-panel__map iframe {
  position: absolute;
  inset: 0;                /* top:0 right:0 bottom:0 left:0 */
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* Dark-mode filter — inverts the map palette to match the midnight theme */
  filter: invert(92%) hue-rotate(180deg) brightness(0.85) contrast(0.88) saturate(0.65);
  transition: filter 0.4s ease;
}

.connect__map-panel:hover .connect__map-panel__map iframe {
  filter: invert(92%) hue-rotate(180deg) brightness(0.78) contrast(0.85) saturate(0.6);
}

/* Right — info panel with consistent internal padding */
.connect__map-panel__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-left: 1px solid var(--color-glass-border);
}

/* Purple gradient pin icon */
.connect__map-panel__pin {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-royal), var(--color-violet));
  color: var(--color-white);
  flex-shrink: 0;
}

/* Label + address */
.connect__map-panel__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.connect__map-panel__address address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
}

/* Service schedule list */
.connect__map-panel__schedule {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid var(--color-glass-border);
  padding-top: var(--space-sm);
  margin-top: 0.25rem;
}

.connect__map-panel__schedule li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.87rem;
  gap: 0.5rem;
}

.connect__map-panel__schedule li span {
  color: var(--color-text-muted);
}

.connect__map-panel__schedule li strong {
  color: var(--color-violet);
  font-weight: 600;
  white-space: nowrap;
}

/* CTA buttons */
.connect__map-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.25rem;
}

/* ---- Responsive ---- */

/* Tablet: stack map on top, info below */
@media (max-width: 1024px) {
  .connect__map-panel {
    grid-template-columns: 1fr;
  }

  .connect__map-panel__map {
    min-height: 300px;
  }

  .connect__map-panel__info {
    border-left: none;
    border-top: 1px solid var(--color-glass-border);
  }

  .connect__map-panel__actions {
    flex-direction: row;
  }

  .connect__map-panel__actions .btn {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .connect__map-panel__map { min-height: 240px; }
  .connect__map-panel__info { padding: var(--space-md); }
}

@media (max-width: 480px) {
  .connect__map-panel__map { min-height: 200px; }

  .connect__map-panel__actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Already animated — keep as-is */
}

/* ===========================
   PREFERS-REDUCED-MOTION
   Disables ALL animations & transitions for users who opt out.
   Required for WCAG 2.1 Success Criterion 2.3.3.
   =========================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Reveal elements immediately — don't leave content invisible */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .reveal.revealed {
    opacity: 1;
    transform: none;
  }

  /* Stop scroll indicator bounce */
  .scroll-arrow { animation: none !important; }

  /* Hero text — no staggered entrance */
  .hero__eyebrow,
  .hero__title,
  .hero__subtitle,
  .hero__cta-group,
  .hero__info-panel,
  .hero__scroll-indicator {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Testimonial cards — show without slide */
  .testimonial-card {
    transition: none !important;
  }

  /* Toast — no slide animation */
  .oi-toast { animation: none !important; }
  .oi-toast--leaving { opacity: 0 !important; }
}
