:root {
  --bg: #fff7ed;
  --surface: #ffffff;
  --surface-2: #ffedd5;
  --ink: #0f172a;
  --ink-soft: #334155;
  --brand: #f59e0b;
  --brand-2: #ea580c;
  --brand-dark: #9a3412;
  --accent: #f59e0b;
  --danger: #dc2626;
  --border: #fed7aa;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 14px 36px rgba(234, 88, 12, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(234, 88, 12, 0.14), transparent 42%),
    radial-gradient(circle at 85% 10%, rgba(13, 148, 136, 0.14), transparent 38%),
    radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.09), transparent 34%),
    var(--bg);
  line-height: 1.6;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h2 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
}

h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
}

p {
  margin: 0 0 0.75rem;
}

a {
  color: var(--brand-2);
}

a:hover {
  color: var(--brand-dark);
}

img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(640px, 92%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 251, 0.78);
  border-bottom: 1px solid rgba(254, 215, 170, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.brand small {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.16rem;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.2);
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 12px;
  display: inline-grid;
  place-content: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.35);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(254, 215, 170, 0.95);
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.main-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.services-menu {
  position: relative;
}

.services-menu summary {
  list-style: none;
  cursor: pointer;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-menu summary::-webkit-details-marker { display: none; }

.services-menu summary:hover { color: var(--ink); transform: translateY(-1px); }

.services-menu.active summary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.services-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: grid;
  width: max-content;
  min-width: 13.5rem;
  padding: 0.38rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 32px rgba(49, 46, 129, 0.16);
}

.services-dropdown a { border-radius: 0.55rem; padding: 0.56rem 0.65rem; }

.service-page { overflow: hidden; }

.service-hero {
  padding: clamp(2.8rem, 7vw, 5.4rem) 0;
  background: radial-gradient(circle at 84% 15%, rgba(251, 191, 36, 0.24), transparent 31rem), linear-gradient(135deg, #fff7ed, #fffbeb 54%, #fff);
}

.service-hero-grid, .service-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.service-eyebrow { margin: 0 0 0.7rem; color: var(--brand-2); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.service-copy h1 { max-width: 100%; margin: 0; font-size: clamp(2.2rem, 4.3vw, 3.85rem); line-height: 1.04; overflow-wrap: anywhere; hyphens: auto; }
.service-lead { max-width: 44rem; margin: 1.1rem 0 1.6rem; color: var(--ink-soft); font-size: clamp(1.04rem, 1.7vw, 1.22rem); line-height: 1.75; }

.service-schedule { display: grid; gap: 0.7rem; margin: 0; }
.service-schedule div { display: grid; grid-template-columns: 8.4rem minmax(0, 1fr); gap: 0.9rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(234, 88, 12, 0.16); }
.service-schedule dt { color: var(--brand-2); font-weight: 800; }
.service-schedule dd { margin: 0; font-weight: 700; }

.service-slider { position: relative; min-height: clamp(20rem, 35vw, 31rem); overflow: hidden; border: 0.75rem solid #fff; border-radius: 1.3rem; box-shadow: 0 24px 55px rgba(120, 53, 15, 0.23); background: #3f2d20; }
.service-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.65s ease; }
.service-slide.is-active { opacity: 1; }
.service-slider-dots { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; display: flex; justify-content: center; gap: 0.48rem; }
.service-slider-dots button { width: 0.62rem; height: 0.62rem; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.64); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.24); cursor: pointer; }
.service-slider-dots button.is-active { width: 1.65rem; background: #facc15; }

.service-hero-mark { display: grid; aspect-ratio: 1.15; place-items: center; border: 1px solid rgba(234, 88, 12, 0.17); border-radius: 1.3rem; background: radial-gradient(circle, rgba(251, 191, 36, 0.48), transparent 17%), repeating-radial-gradient(circle at 50% 50%, rgba(234, 88, 12, 0.09) 0 1px, transparent 1px 2.2rem), #fff; }
.service-hero-mark span { color: var(--brand-2); font-size: clamp(7rem, 17vw, 12rem); }

.service-content { padding-top: clamp(3rem, 7vw, 6rem); }
.service-content-grid { align-items: start; }
.service-description { font-size: 1.06rem; line-height: 1.8; }
.service-description p:first-child { margin-top: 0; }
.service-verse { margin: 0; padding: clamp(1.5rem, 4vw, 2.3rem); border-radius: 1rem; color: #fff; background: linear-gradient(145deg, #9a3412, #ea580c); box-shadow: 0 18px 38px rgba(154, 52, 18, 0.2); }
.service-verse p { margin: 0; font-family: "Sora", sans-serif; font-size: clamp(1.08rem, 2vw, 1.35rem); font-weight: 600; line-height: 1.65; }
.service-verse footer { margin-top: 1.1rem; color: #ffedd5; font-weight: 800; }

.service-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; margin-top: clamp(2.4rem, 5vw, 4rem); }
.service-gallery img { width: 100%; min-height: 13rem; height: 100%; border-radius: 0.85rem; object-fit: cover; box-shadow: 0 11px 25px rgba(120, 53, 15, 0.14); }
.service-gallery img:nth-child(1), .service-gallery img:nth-child(4) { grid-row: span 2; }
.service-closing { margin-top: clamp(2.8rem, 6vw, 5rem); color: var(--brand-2); font-family: "Sora", sans-serif; font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 800; text-align: center; }

.header-auth {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.language-switcher {
  position: relative;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  height: 42px;
  min-width: 104px;
  padding: 0 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  cursor: pointer;
  list-style: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.language-toggle::-webkit-details-marker {
  display: none;
}

.language-toggle svg {
  width: 1rem;
  height: 1rem;
}

.language-toggle > svg:not(.language-caret) {
  fill: currentColor;
}

.language-current {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.language-caret {
  width: 0.68rem;
  height: 0.68rem;
  transition: transform 0.2s ease;
}

.language-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(100, 116, 139, 0.5);
  color: #475569;
}

.language-toggle:focus-visible {
  outline: none;
  border-color: rgba(71, 85, 105, 0.58);
  box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.12);
}

.language-switcher[open] .language-toggle {
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.language-switcher[open] .language-caret {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  right: 0.2rem;
  top: calc(100% + 0.42rem);
  min-width: 68px;
  padding: 0;
  border-radius: 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  z-index: 25;
}

.language-switcher:not([open]) .language-menu {
  display: none;
}

.language-list {
  display: grid;
  padding: 0.55rem 0;
}

.language-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: #a1a1aa;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 0.38rem 0.95rem;
  cursor: pointer;
}

.language-option:hover {
  background: rgba(15, 23, 42, 0.04);
  color: #71717a;
}

.language-option.active {
  color: #71717a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 14px 26px rgba(13, 148, 136, 0.3);
}

.btn-secondary,
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--border);
}

.btn-danger {
  color: var(--danger);
  background: #fff;
  border-color: rgba(220, 38, 38, 0.3);
}

.home-welcome {
  position: relative;
  min-height: clamp(31rem, 66vw, 44rem);
  overflow: hidden;
  background: #241408;
}

.home-welcome-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  color: #fff;
  pointer-events: none;
}

.home-welcome-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(25, 13, 5, 0.78) 0%, rgba(25, 13, 5, 0.46) 46%, rgba(25, 13, 5, 0.05) 78%);
}

.home-welcome-copy .eyebrow { color: #fde68a; }
.home-welcome-copy h1 { max-width: 42rem; margin: 0; font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: 1.08; }
.home-welcome-copy p:last-child { max-width: 46rem; margin: 1rem 0 0; font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.75; }

.home-slider { position: absolute; inset: 0; }
.home-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease; }
.home-slide.is-active { opacity: 1; }
.home-slider-dots { position: absolute; z-index: 3; right: 1rem; bottom: 1.35rem; left: 1rem; display: flex; justify-content: center; gap: 0.48rem; }
.home-slider-dots button { width: 0.62rem; height: 0.62rem; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.62); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.32); cursor: pointer; }
.home-slider-dots button.is-active { width: 1.65rem; background: #facc15; }

.home-services-section { background: linear-gradient(145deg, #fff 0%, #fff7ed 52%, #fffbeb 100%); }
.home-services-section > .container > h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.home-services-section > .container > .lead { max-width: 44rem; margin: 0.75rem 0 2rem; }
.home-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.home-service-card { display: flex; min-height: 17rem; flex-direction: column; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid rgba(234, 88, 12, 0.18); border-radius: 1rem; color: var(--ink); text-decoration: none; box-shadow: 0 14px 28px rgba(120, 53, 15, 0.1); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.home-service-card:hover, .home-service-card:focus-visible { transform: translateY(-5px); box-shadow: 0 22px 38px rgba(120, 53, 15, 0.19); }
.home-service-card.sunday { background: linear-gradient(145deg, #fff, #ffedd5); }
.home-service-card.youth { background: linear-gradient(145deg, #fff, #fef3c7); }
.home-service-card.women { background: linear-gradient(145deg, #fff, #fde7f3); }
.home-service-icon { color: var(--brand-2); font-size: 1.8rem; }
.home-service-card h3 { margin: 1rem 0 0.55rem; font-size: 1.35rem; }
.home-service-card p { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.home-service-link { margin-top: auto; padding-top: 1.35rem; color: var(--brand-2); font-weight: 800; }

.hero {
  padding: 3.5rem 0 2.7rem;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: calc(var(--radius-lg) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    linear-gradient(120deg, rgba(245, 158, 11, 0.13), rgba(234, 88, 12, 0.16));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: auto -90px -110px auto;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.18) 0%,
    rgba(234, 88, 12, 0.08) 45%,
    transparent 75%
  );
  pointer-events: none;
}

.hero-image {
  height: min(480px, 62vw);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.lead {
  margin-top: 0.9rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 66ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.section {
  padding: 2.3rem 0;
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.08), rgba(234, 88, 12, 0.06)),
    linear-gradient(180deg, #fffaf3, #fff7ed);
  border-top: 1px solid rgba(254, 215, 170, 0.75);
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-updates > h2 {
  margin-bottom: 1.25rem;
  text-align: center;
}

.home-updates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-update-panel {
  padding: 1.35rem;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.home-events-panel {
  border-color: rgba(234, 88, 12, 0.3);
  background: linear-gradient(145deg, #fff 0%, #fff7ed 100%);
}

.home-update-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(251, 146, 60, 0.18);
}

.home-update-heading .eyebrow {
  margin-bottom: 0.25rem;
}

.home-update-heading h3 {
  margin: 0;
  font-size: 1.3rem;
}

.home-heading-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #f97316, #c2410c);
  box-shadow: 0 8px 18px rgba(194, 65, 12, 0.22);
}

.home-update-list {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0.25rem;
}

.home-news-item,
.home-event-item {
  display: grid;
  align-items: start;
  gap: 0.9rem;
  padding: 0.2rem 0 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.home-news-item {
  grid-template-columns: 6.25rem minmax(0, 1fr);
}

.home-news-item.has-image {
  grid-template-columns: 5.5rem minmax(0, 1fr) 7.25rem;
}

.home-event-item {
  grid-template-columns: 3.85rem minmax(0, 1fr);
}

.home-news-item:last-child,
.home-event-item:last-child {
  padding-bottom: 0.2rem;
  border-bottom: 0;
}

.home-news-date {
  color: #c2410c;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-news-image {
  width: 100%;
  height: 5.25rem;
  align-self: center;
  border-radius: 10px;
  object-fit: cover;
}

.home-news-item h3,
.home-event-item h3 {
  margin: 0;
  font-size: 1.02rem;
}

.home-news-item p,
.home-event-item p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.home-event-date {
  display: flex;
  min-height: 3.65rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  background: #ea580c;
}

.home-event-date span {
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.home-event-date small {
  margin-top: 0.2rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-event-type {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: #9a3412;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-event-time {
  font-size: 0.88rem;
  font-weight: 700;
}

.home-event-location strong {
  color: var(--ink);
}

.card,
.media-card,
.section-card,
.form-card,
.form-grid {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.card,
.media-card {
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.card > img,
.media-card > img {
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.card.compact {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.card.horizontal {
  display: grid;
  grid-template-columns: minmax(210px, 280px) 1fr;
}

.event-card {
  display: grid;
  grid-template-columns: 6.35rem minmax(0, 1fr) minmax(0, 12rem);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.24);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ffffff 0%, #fffaf5 100%);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.event-date-tile {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
  padding: 1.25rem 0.75rem;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(160deg, #ea580c, #c2410c);
}

.event-date-day {
  font-family: "Sora", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.event-date-month {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.event-card-content {
  align-self: center;
  padding: 1.35rem 1.5rem;
}

.event-type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  color: #9a3412;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  background: #ffedd5;
}

.event-card-content h2 {
  margin: 0.55rem 0 0.45rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.event-schedule,
.event-location,
.event-description {
  margin: 0.45rem 0 0;
}

.event-schedule {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.event-schedule span {
  margin: 0 0.25rem;
  color: #ea580c;
}

.event-location {
  color: var(--ink);
}

.event-location-marker {
  display: inline-block;
  margin-right: 0.5rem;
  color: #ea580c;
  font-size: 0.65rem;
  vertical-align: 0.1rem;
}

.event-description {
  color: var(--ink-soft);
  line-height: 1.65;
}

.event-card-image {
  width: 100%;
  height: 100%;
  min-height: 13.5rem;
  object-fit: cover;
}

.card-body {
  padding: 1.05rem 1.15rem 1.25rem;
}

.card-body h2,
.card-body h3 {
  margin-top: 0.35rem;
}

.meta {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stack {
  display: grid;
  gap: 1rem;
}

.inline-link {
  margin-top: 0.7rem;
  display: inline-block;
  font-weight: 700;
}

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

.media-content {
  padding: 1rem 1.05rem 1.15rem;
}

.media-content h2,
.media-content h3 {
  margin-top: 0.35rem;
  margin-bottom: 0.45rem;
}

.media-open-modal {
  margin-top: 0.75rem;
}

.media-modal[hidden] {
  display: none;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}

.media-modal-panel {
  position: relative;
  width: min(980px, 94vw);
  max-height: 88vh;
  margin: 6vh auto;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.32);
  padding: 1rem;
  overflow: auto;
}

.media-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

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

.media-modal-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
}

.media-modal-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.media-modal-link {
  padding: 0.9rem;
  color: var(--brand-2);
  font-weight: 700;
}

audio {
  width: 100%;
  margin-top: 0.6rem;
}

.article {
  width: min(860px, 92%);
}

.article-image {
  margin: 1rem 0 1.25rem;
  border-radius: var(--radius-lg);
  max-height: 440px;
  object-fit: cover;
}

.article-content p {
  margin: 0 0 0.95rem;
}

.form-card,
.form-grid {
  box-shadow: var(--shadow-soft);
  padding: 1.15rem;
}

.form-card .btn,
.form-grid .btn {
  margin-top: 0.72rem;
}

.form-grid {
  display: grid;
  gap: 0.48rem;
}

.phone-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.info-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #fff;
  cursor: pointer;
}

.info-icon:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
}

.info-tooltip {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 240px;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink-soft);
  display: none;
  z-index: 15;
}

.info-icon:hover .info-tooltip,
.info-icon:focus .info-tooltip {
  display: block;
}

.form-row-2 {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 2fr;
  gap: 0.6rem;
}

label {
  margin-top: 0.3rem;
  font-weight: 700;
  color: var(--ink);
}

.required-label::after {
  content: " *";
  color: var(--danger);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.62rem 0.72rem;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fbfdff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(234, 88, 12, 0.58);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.14);
}

.header-auth > a.btn {
  min-width: 104px;
  height: 42px;
  padding: 0 1rem;
}

textarea {
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox input {
  width: auto;
}

.section-card {
  padding: 1.05rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}

.admin-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0.45rem;
  gap: 0.55rem;
  border-radius: 16px;
  border: 1px solid rgba(254, 215, 170, 0.92);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  margin-bottom: 1rem;
}

.admin-tab-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  padding: 0.6rem 0.95rem;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.admin-tab-btn:hover {
  transform: translateY(-1px);
  color: var(--ink);
}

.admin-tab-btn.active {
  color: #fff;
  border-color: rgba(234, 88, 12, 0.85);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.admin-tab-panel[hidden] {
  display: none;
}

.admin-page .lead {
  margin-top: 0.4rem;
}

.admin-shell {
  width: min(1240px, 94%);
}

.admin-hero-card {
  margin-bottom: 1rem;
  padding: 1.2rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(254, 215, 170, 0.85);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.78)),
    linear-gradient(120deg, rgba(245, 158, 11, 0.14), rgba(13, 148, 136, 0.14));
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

.admin-panel-wrap .section-card {
  margin-bottom: 0;
  border-radius: 18px;
  border-color: rgba(254, 215, 170, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
}

.admin-panel-wrap .section-card h2 {
  margin-bottom: 0.55rem;
}

.admin-page .form-grid {
  padding: 1rem;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(254, 215, 170, 0.85);
}

.admin-page .form-grid input,
.admin-page .form-grid textarea,
.admin-page .form-grid select {
  background: #fff;
  border-color: rgba(251, 146, 60, 0.45);
}

.admin-page .table-wrap {
  margin-top: 1rem;
  border-radius: 14px;
}

.admin-page .table-wrap thead th {
  background: linear-gradient(180deg, #ffedd5, #fed7aa);
}

.admin-page .table-wrap td > a.btn,
.admin-page .table-wrap td > form {
  display: inline-flex;
  vertical-align: middle;
}

.admin-page .table-wrap td > form {
  margin-left: 0.42rem;
}

.table-wrap {
  margin-top: 0.95rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.62rem 0.58rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--surface-2);
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

tbody tr:nth-child(even) {
  background: rgba(237, 242, 251, 0.5);
}

.flash-wrap {
  padding-top: 0.85rem;
}

.flash {
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem;
  border: 1px solid transparent;
  font-weight: 600;
}

.flash-success {
  color: #115e59;
  border-color: rgba(13, 148, 136, 0.3);
  background: rgba(20, 184, 166, 0.12);
}

.flash-error {
  color: #991b1b;
  border-color: rgba(220, 38, 38, 0.28);
  background: rgba(248, 113, 113, 0.12);
}

.muted {
  color: var(--ink-soft);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.prayer-highlight {
  margin-top: 1.5rem;
}

.site-footer {
  margin-top: 0;
  color: #ffe7cf;
  background:
    radial-gradient(circle at 8% 20%, rgba(13, 148, 136, 0.36), transparent 35%),
    radial-gradient(circle at 92% 90%, rgba(234, 88, 12, 0.32), transparent 35%),
    #0f172a;
  padding: 2.2rem 0;
}

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

.site-footer h3 {
  margin-bottom: 0.4rem;
}

.site-footer p {
  color: #ffd7b0;
}

.site-footer code {
  padding: 0.12rem 0.34rem;
  border-radius: 8px;
  background: rgba(255, 215, 176, 0.16);
}

.footer-location-map {
  margin-top: 0.6rem;
  width: min(100%, 320px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.footer-location-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
}

.footer-social {
  margin-top: 0.9rem;
}

.footer-social h3 {
  margin-bottom: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

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

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.social-link svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
}

.social-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.28);
}

.social-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.social-link.facebook {
  background: #1877f2;
}

.social-link.instagram {
  background: #262626;
}

.social-link.whatsapp {
  background: #25d366;
}

.social-link.gmail {
  background: #ea4335;
}

.sermons-calendar-card,
.sermons-video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.sermons-video-card {
  margin-top: 1rem;
}

.sermons-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.sermons-calendar-toolbar h2 {
  margin: 0;
  text-align: center;
}

.sermons-weekdays,
.sermons-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
}

.sermons-weekdays {
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.sermons-weekdays span {
  text-align: center;
}

.sermons-day {
  height: 2.35rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.sermons-day.pad {
  border: 0;
  background: transparent;
  cursor: default;
}

.sermons-day.has-video {
  border-color: rgba(234, 88, 12, 0.6);
  background: rgba(245, 158, 11, 0.12);
}

.sermons-day.selected {
  color: #fff;
  border-color: rgba(234, 88, 12, 0.9);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.sermons-embed-wrap {
  margin-top: 0.6rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.sermons-embed-wrap iframe {
  display: block;
  width: 100%;
  height: min(560px, 62vw);
  border: 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .cards-3,
  .cards-2,
  .split,
  .home-updates-grid,
  .media-grid,
  .footer-grid,
  .service-hero-grid,
  .service-content-grid,
  .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.65rem 0;
  }

  .main-nav {
    order: 3;
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .cards-3,
  .cards-2,
  .split,
  .media-grid,
  .media-modal-grid,
  .footer-grid,
  .card.horizontal,
  .event-card,
  .service-hero-grid,
  .service-content-grid {
    grid-template-columns: 1fr;
  }

  .event-date-tile {
    min-height: auto;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
  }

  .event-date-day {
    font-size: 1.75rem;
  }

  .event-date-month {
    margin-left: 0.45rem;
  }

  .event-card-content {
    padding: 1.2rem;
  }

  .event-card-image {
    min-height: 0;
    max-height: 16rem;
  }

  .home-update-panel {
    padding: 1.1rem;
  }

  .home-news-item {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .hero {
    padding-top: 2rem;
  }

  .home-welcome {
    display: flex;
    min-height: 0;
    flex-direction: column;
    background: #fff;
  }

  .home-slider {
    position: relative;
    order: 1;
    height: min(88vw, 31rem);
    background: #f8fafc;
  }

  .home-welcome-copy {
    position: relative;
    z-index: auto;
    order: 2;
    display: block;
    padding: 2rem 0 2.4rem;
    color: var(--ink);
    pointer-events: auto;
  }

  .home-welcome-copy::before {
    display: none;
  }

  .home-welcome-copy .eyebrow {
    color: var(--brand-2);
  }

  .home-welcome-copy h1 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .home-welcome-copy p:last-child {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .home-service-card {
    min-height: 0;
  }

  .hero-image {
    height: min(360px, 65vw);
  }

  .header-auth {
    width: auto;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .main-nav {
    grid-column: 1 / -1;
    width: 100%;
    order: initial;
    justify-content: center;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: initial;
    gap: 0.6rem;
  }

  .brand {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    white-space: nowrap;
  }

  .home-slide {
    object-fit: contain;
  }


  .services-dropdown {
    left: 50%;
    transform: translateX(-50%);
  }

  .service-slider {
    min-height: min(25rem, 78vw);
  }

  .service-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-gallery img:nth-child(1),
  .service-gallery img:nth-child(4) {
    grid-row: auto;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

}

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

  html {
    scroll-behavior: auto;
  }
}
