:root {
  --bg: #f8f5ee;
  --bg-soft: #fffdf8;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --navy: #123c73;
  --navy-deep: #0b2850;
  --gold: #d7a62f;
  --gold-soft: #f2dfab;
  --text: #1f2c3d;
  --muted: #5e6c80;
  --border: rgba(18, 60, 115, 0.12);
  --shadow: 0 24px 60px rgba(11, 40, 80, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 166, 47, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(18, 60, 115, 0.12), transparent 24%),
    linear-gradient(180deg, #fffefb 0%, var(--bg) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 60, 115, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 100%);
  opacity: 0.4;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(820px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255, 251, 243, 0.86);
  border-bottom: 1px solid rgba(215, 166, 47, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 251, 243, 0.95);
  box-shadow: 0 16px 34px rgba(11, 40, 80, 0.08);
  border-bottom-color: rgba(18, 60, 115, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(242, 223, 171, 0.9));
  padding: 0.35rem;
  box-shadow: 0 12px 24px rgba(18, 60, 115, 0.12);
  animation: logoFloat 5.5s ease-in-out infinite;
}

.brand-name,
.brand-tag {
  display: block;
}

.brand-name,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand-name {
  font-size: 2rem;
  line-height: 0.95;
  color: var(--navy-deep);
}

.brand-tag {
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.site-nav a {
  position: relative;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--navy-deep);
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.45rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #f5d173);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--navy);
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  background: var(--navy);
  color: #fff;
}

.hero {
  position: relative;
  padding: 4.5rem 0 2rem;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  padding: 1rem 0;
  max-width: 700px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-orb-1 {
  top: 3rem;
  left: -4rem;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(215, 166, 47, 0.3) 0%, rgba(215, 166, 47, 0) 70%);
  animation: orbFloatOne 12s ease-in-out infinite;
}

.hero-orb-2 {
  top: 1rem;
  right: 12%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(18, 60, 115, 0.18) 0%, rgba(18, 60, 115, 0) 72%);
  animation: orbFloatTwo 10s ease-in-out infinite;
}

.hero-orb-3 {
  bottom: 1rem;
  right: -2rem;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(242, 223, 171, 0.5) 0%, rgba(242, 223, 171, 0) 72%);
  animation: orbFloatThree 14s ease-in-out infinite;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  line-height: 0.92;
  color: var(--navy-deep);
}

.hero-text {
  margin-top: 1.4rem;
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:hover::before,
.btn:focus-visible::before {
  animation: buttonSheen 0.8s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #f0c45b);
  color: var(--navy-deep);
  box-shadow: 0 14px 30px rgba(215, 166, 47, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  border-color: rgba(18, 60, 115, 0.14);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-card {
  position: relative;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(215, 166, 47, 0.18);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card::after {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -2.5rem;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 166, 47, 0.18) 0%, rgba(215, 166, 47, 0) 72%);
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(11, 40, 80, 0.14);
}

.highlight-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hero-media {
  position: relative;
  transition: transform 0.35s ease-out;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: auto -1rem -1rem 3rem;
  background: linear-gradient(135deg, rgba(215, 166, 47, 0.28), rgba(18, 60, 115, 0.22));
  border-radius: var(--radius-lg);
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease-out;
  animation: heroPhotoFloat 8s ease-in-out infinite;
}

.section {
  padding: 2rem 0 4rem;
}

.section-accent {
  position: relative;
}

.section-accent::before {
  content: "";
  position: absolute;
  inset: 2rem 0;
  background: linear-gradient(135deg, rgba(18, 60, 115, 0.96), rgba(20, 73, 140, 0.92));
  z-index: -1;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(242, 223, 171, 0.14));
}

.section-contact {
  background: linear-gradient(180deg, var(--navy-deep), #0f3567);
  color: #fff;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading.center {
  text-align: center;
}

.section-heading.light h2 {
  color: #fff;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.98;
  color: var(--navy-deep);
}

h3 {
  font-size: 2rem;
  line-height: 1;
  color: var(--navy-deep);
}

.devotion-card,
.info-panel,
.declaration-card,
.schedule-card,
.event-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.devotion-card:hover,
.info-panel:hover,
.declaration-card:hover,
.schedule-card:hover,
.event-card:hover,
.contact-card:hover,
.pastor-copy:hover,
.value-card:hover,
.carousel-shell:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(11, 40, 80, 0.16);
  border-color: rgba(215, 166, 47, 0.22);
}

.devotion-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
  padding: 2rem;
  align-items: center;
}

.verse-container {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 238, 0.98));
  border: 1px solid rgba(18, 60, 115, 0.08);
}

.verse {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--navy-deep);
}

.reference {
  margin-top: 0.9rem;
  color: var(--gold);
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}

.info-panel {
  padding: 2rem;
}

.info-panel p,
.pastor-copy p,
.declaration-card p,
.contact-details p,
.schedule-item p,
.value-card p {
  line-height: 1.85;
  color: var(--muted);
}

.info-panel p + p,
.pastor-copy p + p {
  margin-top: 1rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.value-card {
  padding: 1.7rem;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid rgba(18, 60, 115, 0.08);
  box-shadow: 0 18px 40px rgba(18, 60, 115, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.value-card i {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.35s ease, color 0.35s ease;
}

.value-card:hover i {
  transform: translateY(-4px) scale(1.08);
  color: #c68b10;
}

.value-card h3 {
  margin: 1rem 0 0.6rem;
  font-size: 1.8rem;
}

.declaration-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.94);
}

.declaration-card p:first-child {
  color: var(--navy-deep);
  font-size: 1.1rem;
}

.scripture-note {
  margin-top: 1.2rem;
  color: var(--gold);
  font-weight: 700;
}

.pastor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pastor-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 1.75rem 1.85rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 60, 115, 0.1);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pastor-copy p {
  font-size: 0.98rem;
  line-height: 1.7;
}

.pastor-copy p + p {
  margin-top: 0.85rem;
}

.pastor-photo-frame {
  position: relative;
  display: flex;
  height: 100%;
  padding: 1rem;
}

.pastor-photo-frame::before {
  content: "";
  position: absolute;
  inset: 0.5rem 0 0 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(215, 166, 47, 0.26), rgba(18, 60, 115, 0.18));
}

.pastor-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}

.pastor-photo-frame:hover .pastor-photo {
  transform: scale(1.03);
}

.carousel-shell {
  position: relative;
  padding: 1.5rem 4rem 4.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 60, 115, 0.08);
  box-shadow: var(--shadow);
}

.carousel-stage {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
}

.flyer-trigger {
  display: none;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.flyer-trigger.active {
  display: block;
}

.flyer {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.flyer-trigger img {
  transition: transform 0.25s ease;
}

.flyer-trigger:hover img,
.flyer-trigger:focus-visible img {
  transform: scale(1.01);
}

.nav-button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(11, 40, 80, 0.88);
  color: #fff;
  box-shadow: 0 18px 30px rgba(11, 40, 80, 0.2);
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav-button:hover,
.nav-button:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(18, 60, 115, 0.98);
}

.prev:hover,
.prev:focus-visible,
.next:hover,
.next:focus-visible {
  transform: translateY(calc(-50% - 3px));
}

.pause:hover,
.pause:focus-visible {
  transform: translateX(-50%) translateY(-3px);
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translateY(-3px);
}

.prev,
.next {
  top: 50%;
  transform: translateY(-50%);
}

.prev {
  left: 0.9rem;
}

.next {
  right: 0.9rem;
}

.pause {
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: auto;
  min-width: 110px;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #f0c45b);
  color: var(--navy-deep);
  font-weight: 700;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.lightbox.is-open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 35, 0.82);
  backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: min(1200px, calc(100% - 2rem));
  height: 100%;
  margin: 0 auto;
  padding: 2rem 0;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.lightbox-figure img {
  width: 100%;
  max-height: calc(100vh - 4rem);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.4rem;
}

.promo-lightbox {
  z-index: 210;
}

.promo-lightbox .lightbox-backdrop {
  background: rgba(6, 18, 35, 0.18);
  backdrop-filter: none;
}

.promo-lightbox.is-open .lightbox-backdrop {
  animation: promoBackdropFade 0.55s ease-out both;
}

.promo-dialog {
  grid-template-columns: minmax(0, max-content);
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: 2.75rem 0 2rem;
  align-content: center;
  justify-content: center;
}

.promo-lightbox.is-open .promo-dialog {
  animation: promoDialogEnter 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.promo-dialog .lightbox-close {
  top: 0.5rem;
  right: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(10, 26, 47, 0.92);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.promo-figure {
  margin: 0;
  padding: 0.55rem;
  border: 2px solid rgba(236, 200, 102, 0.95);
  border-radius: calc(var(--radius-md) + 6px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.28);
  max-width: min(760px, calc(100vw - 2rem));
}

.promo-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 5.5rem);
  border-radius: calc(var(--radius-md) - 2px);
  box-shadow: none;
  background: transparent;
  animation: promoFlashFlow 3.8s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, filter;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
}

.schedule-card,
.event-card {
  padding: 2rem;
}

.schedule-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-auto-rows: 1fr;
}

.schedule-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid rgba(18, 60, 115, 0.07);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.schedule-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.schedule-item:hover {
  transform: translateX(6px);
  border-color: rgba(215, 166, 47, 0.28);
  box-shadow: 0 18px 34px rgba(11, 40, 80, 0.08);
}

.day {
  display: inline-flex;
  align-self: start;
  align-items: flex-start;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(215, 166, 47, 0.16);
  color: var(--navy-deep);
  font-weight: 800;
}

.schedule-item strong {
  display: block;
  color: var(--navy-deep);
}

.schedule-item p {
  margin: 0;
  line-height: 1.6;
}

.event-image {
  margin-top: 1.4rem;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(11, 40, 80, 0.16);
  transition: transform 0.25s ease;
}

.event-popup-trigger {
  display: block;
  width: 100%;
  margin-top: 1.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.event-popup-trigger .event-image {
  margin-top: 0;
}

.event-popup-trigger:hover .event-image,
.event-popup-trigger:focus-visible .event-image {
  transform: scale(1.01);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-card {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.map-card iframe {
  width: 100%;
  min-height: 100%;
  height: 100%;
  border: 0;
  border-radius: calc(var(--radius-lg) - 6px);
}

.contact-details h3 {
  color: #fff;
}

.contact-details p {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  font-weight: 600;
  transition: transform 0.25s ease, color 0.25s ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  transform: translateX(6px);
  color: var(--gold-soft);
}

.contact-list i {
  color: var(--gold-soft);
}

.contact-form {
  display: grid;
  gap: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  padding: 1.2rem 0 2.5rem;
  background: #091f3c;
  color: rgba(255, 255, 255, 0.78);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tm-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transition: 0.25s ease;
}

.tm-social-link:hover,
.tm-social-link:focus-visible {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-4px) rotate(6deg);
}

#button {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #f0c45b);
  color: var(--navy-deep);
  box-shadow: 0 18px 30px rgba(215, 166, 47, 0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

#button.show {
  opacity: 1;
  visibility: visible;
}

#button:hover {
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes orbFloatOne {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(16px, -18px, 0); }
}

@keyframes orbFloatTwo {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-20px, 14px, 0); }
}

@keyframes orbFloatThree {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-16px, -22px, 0); }
}

@keyframes heroPhotoFloat {
  0%, 100% { transform: translateY(0) scale(1.01); }
  50% { transform: translateY(-8px) scale(1.03); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes buttonSheen {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@keyframes promoFlashFlow {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: brightness(1) saturate(1);
  }

  50% {
    transform: translateY(-6px) scale(1.012);
    filter: brightness(1.08) saturate(1.05);
  }
}

@keyframes promoBackdropFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes promoDialogEnter {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .pastor-layout,
  .schedule-grid,
  .contact-layout,
  .devotion-card {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 420px;
  }

  .pastor-photo-frame,
  .pastor-photo {
    height: auto;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .map-card iframe {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .site-header .container,
  .footer-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .carousel-shell {
    padding: 1rem 1rem 4.25rem;
  }

  .nav-button {
    width: 44px;
    height: 44px;
  }

  .prev {
    left: 0.4rem;
  }

  .next {
    right: 0.4rem;
  }

  .schedule-item {
    grid-template-columns: 1fr;
  }

  .day {
    justify-content: flex-start;
  }

  .lightbox-dialog {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    justify-items: center;
    padding: 4.5rem 0 1.5rem;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
  }

  .lightbox-figure img {
    max-height: calc(100vh - 10rem);
  }

  .lightbox-nav {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 560px) {
  .brand {
    align-items: flex-start;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }

  .brand-name {
    font-size: 1.6rem;
  }

  .section {
    padding: 1.5rem 0 3rem;
  }

  .devotion-card,
  .info-panel,
  .declaration-card,
  .schedule-card,
  .event-card,
  .contact-card,
  .pastor-copy {
    padding: 1.4rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.6rem;
  }
}
