/* ============================================
   SACRED GROUND — Established Ministry Styles
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Navy scale */
  --sg-navy-dark:   #0a0f1e;
  --sg-navy-deep:   #0f172a;
  --sg-navy:        #1a2332;

  /* Royal blue accent */
  --sg-royal:       #1e40af;
  --sg-royal-hover: #1a38a0;
  --sg-royal-light: #3b5cc6;

  /* Sky blue highlights */
  --sg-sky:         #60a5fa;
  --sg-sky-light:   #93c5fd;

  /* Neutrals */
  --sg-cream:       #f8fafc;
  --sg-stone:       #f1f5f9;
  --sg-white:       #ffffff;
  --sg-gray:        #475569;
  --sg-gray-light:  #cbd5e1;
  --sg-slate:       #94a3b8;

  /* Typography */
  --sg-font-display: 'Cinzel', 'Times New Roman', serif;
  --sg-font-body:    'Spectral', Georgia, serif;

  /* Layout */
  --sg-max-width:    1200px;
  --sg-nav-height:   72px;
  --sg-banner-height: 36px;
  --sg-radius:       12px;
  --sg-radius-sm:    8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sg-font-body);
  color: var(--sg-gray);
  background: var(--sg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.sg-container {
  width: 90%;
  max-width: var(--sg-max-width);
  margin: 0 auto;
}

/* ---------- Demo Banner ---------- */
.sg-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--sg-banner-height);
  background: var(--sg-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 1000;
  font-family: var(--sg-font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.sg-demo-banner a {
  color: var(--sg-sky);
  font-weight: 600;
}

.sg-demo-banner a:hover { text-decoration: underline; }

/* ---------- Navigation ---------- */
.sg-nav {
  position: fixed;
  top: var(--sg-banner-height);
  left: 0;
  width: 100%;
  height: var(--sg-nav-height);
  display: flex;
  align-items: center;
  z-index: 960;
  transition: background 0.35s, box-shadow 0.35s;
}

.sg-nav.scrolled {
  background: rgba(15, 23, 42, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.sg-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: var(--sg-max-width);
  margin: 0 auto;
}

.sg-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sg-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sg-white);
  letter-spacing: 1px;
}

.sg-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--sg-royal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.sg-logo span { font-weight: 400; }

.sg-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.sg-nav-links a {
  font-family: var(--sg-font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s;
}

.sg-nav-links a:hover { color: var(--sg-sky); }

.sg-nav-cta {
  background: var(--sg-royal);
  color: var(--sg-white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.25s, transform 0.25s !important;
}

.sg-nav-cta:hover {
  background: var(--sg-royal-hover);
  transform: translateY(-1px);
}

/* Hamburger */
.sg-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.sg-hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--sg-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.sg-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.sg-hamburger.open span:nth-child(2) { opacity: 0; }
.sg-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Overlay */
.sg-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.sg-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sg-menu-overlay a {
  font-family: var(--sg-font-display);
  font-size: 1.5rem;
  color: var(--sg-white);
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.25s;
}

.sg-menu-overlay a:hover { color: var(--sg-sky); }

/* ---------- HERO — Grand Panel ---------- */
.sg-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--sg-banner-height) + var(--sg-nav-height) + 40px) 20px 60px;
  overflow: hidden;
  text-align: center;
}

.sg-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.sg-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.65);
}

.sg-hero-panel {
  position: relative;
  z-index: 2;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-top: 4px solid var(--sg-royal);
  border-radius: var(--sg-radius);
  padding: 52px 64px;
  max-width: 680px;
  width: 100%;
}

.sg-hero-label {
  font-family: var(--sg-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--sg-sky);
  margin-bottom: 20px;
}

.sg-hero h1 {
  font-family: var(--sg-font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--sg-white);
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.sg-hero-divider {
  width: 60px;
  height: 2px;
  background: var(--sg-royal-light);
  margin: 0 auto 20px;
}

.sg-hero-excerpt {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 32px;
}

.sg-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.sg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--sg-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.sg-btn-primary {
  background: var(--sg-royal);
  color: var(--sg-white);
}

.sg-btn-primary:hover {
  background: var(--sg-royal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
}

.sg-btn-outline {
  background: transparent;
  color: var(--sg-white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.sg-btn-outline:hover {
  border-color: var(--sg-white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ---------- Section Utilities ---------- */
.sg-section {
  padding: 100px 0;
}

.sg-section-cream { background: var(--sg-cream); }
.sg-section-dark {
  background: var(--sg-navy-deep);
  color: var(--sg-white);
}
.sg-section-gradient {
  background: linear-gradient(135deg, var(--sg-navy-deep) 0%, var(--sg-royal) 100%);
  color: var(--sg-white);
}

.sg-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sg-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--sg-royal);
  margin-bottom: 14px;
}

.sg-section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--sg-royal);
}

.sg-section-dark .sg-section-label { color: var(--sg-sky); }
.sg-section-dark .sg-section-label::before { background: var(--sg-sky); }
.sg-section-gradient .sg-section-label { color: var(--sg-sky-light); }
.sg-section-gradient .sg-section-label::before { background: var(--sg-sky-light); }

.sg-section-title {
  font-family: var(--sg-font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--sg-navy-deep);
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.sg-section-dark .sg-section-title,
.sg-section-gradient .sg-section-title {
  color: var(--sg-white);
}

.sg-section-subtitle {
  font-size: 1.05rem;
  color: var(--sg-gray);
  max-width: 600px;
  line-height: 1.8;
}

.sg-section-dark .sg-section-subtitle,
.sg-section-gradient .sg-section-subtitle {
  color: var(--sg-slate);
}

.sg-section-header { margin-bottom: 56px; }
.sg-section-header.center { text-align: center; }
.sg-section-header.center .sg-section-subtitle { margin: 0 auto; }
.sg-section-header.center .sg-section-label { justify-content: center; }

/* ---------- About / Welcome ---------- */
.sg-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sg-about-img {
  border-radius: var(--sg-radius);
  overflow: hidden;
  position: relative;
}

.sg-about-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.sg-about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--sg-royal);
  color: var(--sg-white);
  font-family: var(--sg-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  letter-spacing: 1px;
}

.sg-about-text h2 {
  font-family: var(--sg-font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--sg-navy-deep);
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.sg-about-text p {
  font-size: 1.02rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.sg-about-verse {
  border-left: 3px solid var(--sg-royal);
  padding: 16px 24px;
  margin-top: 24px;
  background: rgba(30, 64, 175, 0.04);
  border-radius: 0 var(--sg-radius-sm) var(--sg-radius-sm) 0;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--sg-gray);
}

.sg-about-verse cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--sg-royal);
}

/* ---------- Study Guides ---------- */
.sg-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sg-study-card {
  background: var(--sg-white);
  border-radius: var(--sg-radius);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--sg-sky);
  transition: transform 0.3s, box-shadow 0.3s;
}

.sg-study-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.sg-study-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.sg-study-category {
  font-family: var(--sg-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--sg-royal);
  margin-bottom: 14px;
}

.sg-study-card h3 {
  font-family: var(--sg-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sg-navy-deep);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.sg-study-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--sg-gray);
  margin-bottom: 20px;
}

.sg-study-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sg-study-lessons {
  background: var(--sg-stone);
  color: var(--sg-gray);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

.sg-study-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sg-sky);
  transition: gap 0.25s;
}

.sg-study-link:hover { gap: 10px; }

/* ---------- Leadership Directory ---------- */
.sg-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sg-leader-card {
  background: var(--sg-white);
  border-radius: var(--sg-radius);
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.sg-leader-card:hover { transform: translateY(-4px); }

.sg-leader-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sg-sky-light);
  margin: 0 auto 18px;
}

.sg-leader-name {
  font-family: var(--sg-font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--sg-navy-deep);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.sg-leader-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sg-royal);
  margin-bottom: 12px;
}

.sg-leader-bio {
  font-size: 0.9rem;
  color: var(--sg-gray);
  line-height: 1.7;
}

/* ---------- Events ---------- */
.sg-events-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sg-event-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--sg-white);
  border-radius: var(--sg-radius);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.sg-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.sg-event-date {
  flex-shrink: 0;
  width: 72px;
  height: 80px;
  background: var(--sg-royal);
  border-radius: var(--sg-radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--sg-white);
}

.sg-event-month {
  font-family: var(--sg-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1;
}

.sg-event-day {
  font-family: var(--sg-font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
}

.sg-event-info { flex: 1; }

.sg-event-info h3 {
  font-family: var(--sg-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sg-navy-deep);
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.sg-event-meta {
  display: flex;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--sg-gray);
  flex-wrap: wrap;
}

.sg-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sg-event-cta {
  flex-shrink: 0;
}

.sg-event-btn {
  background: var(--sg-royal);
  color: var(--sg-white);
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--sg-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.sg-event-btn:hover {
  background: var(--sg-royal-hover);
  transform: translateY(-2px);
}

/* ---------- Sermons ---------- */
.sg-sermons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sg-sermon-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sg-radius);
  overflow: hidden;
  transition: background 0.3s, transform 0.3s;
}

.sg-sermon-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.sg-sermon-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.sg-sermon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-sermon-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 30, 0.4);
  transition: background 0.3s;
}

.sg-sermon-card:hover .sg-sermon-play {
  background: rgba(10, 15, 30, 0.55);
}

.sg-sermon-play-btn {
  width: 48px;
  height: 48px;
  background: var(--sg-royal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sg-white);
  font-size: 1.1rem;
}

.sg-sermon-series {
  display: inline-block;
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--sg-sky);
  color: var(--sg-navy-deep);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sg-sermon-body {
  padding: 22px;
}

.sg-sermon-body h3 {
  font-family: var(--sg-font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--sg-white);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.sg-sermon-meta {
  font-size: 0.85rem;
  color: var(--sg-slate);
}

.sg-sermon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sg-sky);
  margin-top: 10px;
  transition: gap 0.25s;
}

.sg-sermon-link:hover { gap: 10px; }

/* ---------- Ministry Programs ---------- */
.sg-programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.sg-program-card {
  background: var(--sg-white);
  border-radius: var(--sg-radius);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.sg-program-card:hover { transform: translateY(-4px); }

.sg-program-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(30, 64, 175, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.sg-program-card h3 {
  font-family: var(--sg-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sg-navy-deep);
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.sg-program-card p {
  font-size: 0.92rem;
  color: var(--sg-gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.sg-program-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sg-sky);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s;
}

.sg-program-link:hover { gap: 10px; }

/* ---------- Visit Us / CTA ---------- */
.sg-visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sg-visit-times h3 {
  font-family: var(--sg-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sg-white);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.sg-visit-schedule {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sg-visit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--sg-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sg-visit-day {
  font-family: var(--sg-font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sg-sky);
  min-width: 80px;
  letter-spacing: 0.5px;
}

.sg-visit-time {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.sg-visit-address {
  margin-top: 28px;
  font-size: 0.95rem;
  color: var(--sg-slate);
  line-height: 1.7;
}

.sg-visit-cta {
  text-align: center;
}

.sg-visit-cta h3 {
  font-family: var(--sg-font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sg-white);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.sg-visit-cta p {
  font-size: 1.02rem;
  color: var(--sg-slate);
  line-height: 1.8;
  margin-bottom: 28px;
}

.sg-visit-cta .sg-btn-primary {
  background: var(--sg-white);
  color: var(--sg-royal);
}

.sg-visit-cta .sg-btn-primary:hover {
  background: var(--sg-cream);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ---------- Footer ---------- */
.sg-footer {
  background: var(--sg-navy-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 0;
}

.sg-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sg-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sg-footer-brand .sg-logo { font-size: 1.15rem; }
.sg-footer-brand p { font-size: 0.88rem; line-height: 1.7; }

.sg-footer h4 {
  font-family: var(--sg-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sg-white);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.sg-footer-links { display: flex; flex-direction: column; gap: 10px; }

.sg-footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s;
}

.sg-footer-links a:hover { color: var(--sg-sky); }

.sg-footer-newsletter p {
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.sg-footer-form {
  display: flex;
  gap: 0;
}

.sg-footer-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--sg-radius-sm) 0 0 var(--sg-radius-sm);
  color: var(--sg-white);
  font-family: var(--sg-font-body);
  font-size: 0.88rem;
  outline: none;
}

.sg-footer-form input::placeholder { color: rgba(255, 255, 255, 0.3); }

.sg-footer-form button {
  background: var(--sg-royal);
  color: var(--sg-white);
  border: none;
  padding: 12px 20px;
  border-radius: 0 var(--sg-radius-sm) var(--sg-radius-sm) 0;
  font-family: var(--sg-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s;
}

.sg-footer-form button:hover { background: var(--sg-royal-hover); }

.sg-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
}

.sg-footer-social {
  display: flex;
  gap: 16px;
}

.sg-footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  transition: background 0.25s, color 0.25s;
}

.sg-footer-social a:hover {
  background: var(--sg-royal);
  color: var(--sg-white);
}

/* ---------- Reveal Animation ---------- */
.sg-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.sg-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- Tablet (1024px) ---------- */
@media (max-width: 1024px) {
  .sg-nav-links { display: none; }
  .sg-hamburger { display: flex; }

  .sg-hero h1 { font-size: 2.5rem; }
  .sg-hero-panel { padding: 40px; max-width: 90%; }

  .sg-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sg-studies-grid { grid-template-columns: repeat(2, 1fr); }

  .sg-directory-grid { grid-template-columns: repeat(2, 1fr); }

  .sg-sermons-grid { grid-template-columns: repeat(2, 1fr); }

  .sg-programs-grid { grid-template-columns: 1fr; }

  .sg-visit-grid { grid-template-columns: 1fr; gap: 48px; }

  .sg-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ---------- Mobile (768px) ---------- */
@media (max-width: 768px) {
  .sg-section { padding: 72px 0; }
  .sg-section-title { font-size: 1.85rem; }

  .sg-hero { min-height: 90vh; }
  .sg-hero h1 { font-size: 2rem; }
  .sg-hero-panel { padding: 32px 24px; }
  .sg-hero-excerpt { font-size: 1rem; }
  .sg-hero-actions { flex-direction: column; }
  .sg-hero-actions .sg-btn { text-align: center; justify-content: center; }

  .sg-btn { padding: 12px 26px; font-size: 0.9rem; }

  .sg-studies-grid { grid-template-columns: 1fr; }

  .sg-directory-grid { grid-template-columns: repeat(2, 1fr); }

  .sg-event-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .sg-event-date {
    width: auto;
    height: auto;
    flex-direction: row;
    gap: 8px;
    padding: 8px 16px;
  }
  .sg-event-day { font-size: 1.2rem; }
  .sg-event-cta { align-self: flex-start; }

  .sg-sermons-grid { grid-template-columns: 1fr; }

  .sg-footer-grid { grid-template-columns: 1fr; }
  .sg-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ---------- Small (480px) ---------- */
@media (max-width: 480px) {
  .sg-section { padding: 56px 0; }
  .sg-section-title { font-size: 1.55rem; }

  .sg-hero h1 { font-size: 1.65rem; }
  .sg-hero-panel { padding: 28px 20px; }

  .sg-directory-grid { grid-template-columns: 1fr; }
}
