:root {
  --ink: #082a3a;
  --muted: #476370;
  --paper: #f7fbf8;
  --mist: #d6f0ee;
  --aqua: #7ac9d1;
  --red: #d31111;
  --gold: #c79a3a;
  --line: rgba(8, 42, 58, 0.16);
  --shadow: 0 20px 60px rgba(8, 42, 58, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Arial,
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(4, 28, 39, 0.58), rgba(4, 28, 39, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 750;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  gap: 20px;
  font-weight: 700;
}

.site-header nav a {
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 31, 43, 0.86) 0%, rgba(5, 31, 43, 0.55) 42%, rgba(5, 31, 43, 0.06) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.1)),
    url("65436781-Religion_0425.jpg") 62% center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 6vw, 98px);
  bottom: clamp(30px, 7vw, 92px);
  width: clamp(88px, 15vw, 190px);
  aspect-ratio: 1;
  background: url("mkkm_logo_2048.png") center / contain no-repeat;
  filter: drop-shadow(0 18px 30px rgba(92, 0, 0, 0.22));
  opacity: 0.92;
  z-index: -1;
}

.hero-inner {
  width: min(940px, calc(100% - 36px));
  margin: 0 auto;
  padding: 118px 0 72px;
  color: #fff;
}

.kicker,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.34);
}

.motto {
  max-width: 690px;
  margin: 28px 0 0;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 650;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.32);
}

.motto span {
  white-space: nowrap;
  color: #eaf8f7;
}

.hero-actions,
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(9px);
}

.button.primary {
  border-color: var(--red);
  background: var(--red);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.details {
  margin-top: -1px;
  background: #ffffff;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.detail-item {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f2fbfa);
  box-shadow: 0 12px 34px rgba(8, 42, 58, 0.08);
}

.detail-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-item strong {
  font-size: 1.08rem;
  line-height: 1.28;
}

.program-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 248, 0.72)),
    url("65436781-Religion_0425.jpg") center 60% / cover fixed no-repeat;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.program-section p,
.venue-section p,
.share-section p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.program-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: program;
}

.program-list li {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px 20px 18px 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.program-list li::before {
  counter-increment: program;
  content: counter(program);
  position: absolute;
  left: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 0.92rem;
}

.venue-section {
  background: #fff;
}

.venue-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.venue-section .button,
.share-section .button {
  width: fit-content;
  margin-top: 28px;
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 12px 32px rgba(8, 42, 58, 0.1);
}

.venue-section .button.primary,
.share-section .button.primary {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

iframe {
  width: 100%;
  min-height: 410px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.share-section {
  background: linear-gradient(135deg, #083044 0%, #125d68 58%, #f7fbf8 58.2%, #f7fbf8 100%);
  color: #fff;
}

.share-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.share-section p {
  color: #e9fbfb;
}

.contact-section {
  background: var(--paper);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: clamp(22px, 5vw, 52px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card img {
  width: clamp(90px, 16vw, 160px);
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 22px rgba(117, 0, 0, 0.16));
}

.contact-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 750;
}

.contact-card a {
  color: var(--ink);
  text-decoration-color: rgba(8, 42, 58, 0.28);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer {
  padding: 28px 18px 42px;
  color: var(--muted);
  text-align: center;
  background: var(--paper);
}

.footer p {
  margin: 0;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 18px;
  }

  .brand span {
    display: none;
  }

  .site-header nav {
    gap: 12px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 90svh;
    background:
      linear-gradient(180deg, rgba(5, 31, 43, 0.88) 0%, rgba(5, 31, 43, 0.5) 58%, rgba(5, 31, 43, 0.1) 100%),
      url("65436781-Religion_0425.jpg") 64% center / cover no-repeat;
  }

  .hero-inner {
    padding-top: 104px;
  }

  .detail-grid,
  .split,
  .venue-layout {
    grid-template-columns: 1fr;
  }

  .share-layout,
  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .share-section {
    background: #083044;
  }

  iframe {
    min-height: 340px;
  }
}

@media (max-width: 520px) {
  .site-header nav {
    display: none;
  }

  .button,
  .hero-actions,
  .share-actions {
    width: 100%;
  }

  .motto span {
    white-space: normal;
  }
}
