:root {
  color-scheme: light;
  font-family: "Noto Sans KR", "Pretendard", system-ui, sans-serif;
  color: #3d372d;
  background: radial-gradient(circle at top, #fffdf7 0%, #f5eadf 40%, #efe2d5 100%);
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  justify-content: center;
  padding: 24px 16px 48px;
  background: radial-gradient(circle at top, rgba(255, 245, 232, 0.75), transparent 35%), linear-gradient(180deg, #fdf7ee 0%, #f4e8dc 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 20% 10%, rgba(251, 232, 210, 0.45), transparent 18%), radial-gradient(circle at 80% 15%, rgba(232, 220, 200, 0.28), transparent 20%);
  pointer-events: none;
}

.page-shell {
  width: min(100%, 780px);
  position: relative;
  padding: 0 0 64px;
}

.hero {
  position: relative;
  padding-top: 24px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(62px);
  opacity: 0.45;
  background: radial-gradient(circle, rgba(229, 195, 145, 0.7), transparent 62%);
  top: -60px;
  right: -40px;
}

.hero-glow.secondary {
  width: 180px;
  height: 180px;
  top: 100px;
  left: -40px;
  background: radial-gradient(circle, rgba(242, 224, 201, 0.72), transparent 64%);
}

.hero-star {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.65);
  top: 24px;
  left: 18%;
}

.hero-star.small {
  width: 6px;
  height: 6px;
  top: 38px;
  left: 26%;
  opacity: 0.85;
}

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(158, 126, 87, 0.17);
  border-radius: 34px;
  padding: 32px 26px 34px;
  box-shadow: 0 24px 60px rgba(117, 91, 62, 0.12);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 15%, rgba(250, 233, 205, 0.32), transparent 35%);
  pointer-events: none;
}

.hero-card-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #725536;
  background: linear-gradient(135deg, #f7e5cf 0%, #f1d9b8 100%);
  border: 1px solid rgba(191, 159, 114, 0.3);
}

.hero-symbol {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff8f0;
  color: #9b7f57;
  box-shadow: 0 14px 30px rgba(151, 115, 64, 0.14);
}

.cross {
  font-size: 28px;
}

.hero-subtitle,
.hero-text,
.gratitude-text,
.gratitude-sign,
.callout-text {
  line-height: 1.85;
}

.hero-subtitle {
  margin: 0 0 14px;
  text-align: center;
  font-size: 1rem;
  color: #6b5c4f;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.1rem);
  letter-spacing: -0.04em;
  text-align: center;
  color: #46372d;
}

h1 span {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
  color: #6b5c4f;
  font-weight: 500;
}

.hero-text {
  margin: 22px auto 0;
  max-width: 92ch;
  color: #5b4f45;
  text-align: center;
}

.details,
.callout,
.gratitude,
.church-illustration {
  margin-top: 32px;
}

.details-header {
  margin-bottom: 22px;
  text-align: center;
}

.section-label {
  margin: 0 auto 10px;
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(231, 214, 189, 0.38);
  color: #8b6f55;
}

.details-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #3f352c;
  line-height: 1.25;
}

.details-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr;
  width: 100%;
}

.info-panel {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(168, 139, 101, 0.18);
  border-radius: 34px;
  padding: 40px 34px 42px;
  box-shadow: 0 28px 54px rgba(114, 82, 51, 0.12);
  min-height: 420px;
}

.info-panel::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 232, 210, 0.68), transparent 54%);
  top: -52px;
  right: -52px;
  pointer-events: none;
}

.info-panel--summary::before {
  right: -48px;
  top: -44px;
}

.info-panel--location {
  min-height: 420px;
}

.info-panel--location::before {
  right: -34px;
  top: -42px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(236, 220, 200, 0.68), transparent 54%);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(243, 227, 204, 0.95), rgba(239, 216, 186, 0.95));
  color: #7d5b38;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.panel-header h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #3f352c;
  line-height: 1.2;
}

.event-row {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.event-label {
  margin: 0;
  color: #8a7660;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-description {
  margin: 0;
  font-size: 1rem;
  color: #5e4f41;
  line-height: 1.75;
}

.event-note {
  margin: 0;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(250, 242, 232, 0.9);
  color: #6a5a4d;
  font-size: 0.96rem;
  line-height: 1.7;
}

.info-panel--location {
  min-height: 520px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 243, 236, 0.95) 100%);
}

.panel-chip {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #7a5e44;
  background: rgba(243, 225, 199, 0.82);
  margin-bottom: 18px;
}

.info-panel--location h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  color: #42352b;
  line-height: 1.2;
}

.location-address,
.location-detail,
.location-card-text {
  margin: 0;
  color: #6a5748;
  line-height: 1.7;
}

.location-address {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.location-detail {
  margin-bottom: 20px;
  font-size: 0.98rem;
}

.location-card {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(168, 139, 101, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.location-card-heading {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #4f3f34;
}

.location-card-text {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.location-map {
  margin-bottom: 24px;
}

.map-embed-wrapper {
  position: relative;
  width: 100%;
  padding-top: 62%;
  border-radius: 28px;
  overflow: hidden;
  background: #eef1f5;
  border: 1px solid rgba(189, 176, 165, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.naver-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #3c6f9c 0%, #2e5a7f 100%);
  box-shadow: 0 16px 24px rgba(60, 111, 156, 0.18);
}

.naver-link:hover {
  transform: translateY(-1px);
}

.location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.location-meta span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(248, 239, 227, 0.92);
  color: #6f5f51;
  font-size: 0.92rem;
}

.info-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(158, 126, 87, 0.15);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 18px 36px rgba(110, 86, 62, 0.08);
}

.info-card::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -24px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(250, 236, 212, 0.55), transparent 58%);
  pointer-events: none;
}

.icon-circle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5e7d3 0%, #fff6ee 100%);
  color: #7a5b3d;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.info-title {
  margin: 0 0 8px;
  color: #5e4f43;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.info-text {
  margin: 0;
  color: #6d5e4f;
  font-size: 0.98rem;
  line-height: 1.7;
}

.callout-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 20px;
  margin: 0 auto;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(247, 230, 218, 0.94), rgba(255, 247, 239, 0.98));
  border: 1px solid rgba(206, 160, 123, 0.26);
  border-radius: 28px;
  color: #7f5842;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(128, 101, 74, 0.08);
}

.gratitude {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(152, 129, 98, 0.16);
  border-radius: 30px;
  padding: 28px 24px;
  box-shadow: 0 18px 40px rgba(104, 80, 56, 0.06);
}

.gratitude-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 1.2rem;
  color: #4d5f4a;
  font-weight: 700;
}

.gratitude-text {
  margin: 0 auto;
  max-width: 92ch;
  color: #5f5245;
  text-align: center;
}

.gratitude-sign {
  margin: 22px auto 0;
  color: #7a6758;
  text-align: center;
  font-size: 0.95rem;
}

.church-illustration {
  position: relative;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.church-base,
.church-body,
.church-roof,
.church-door,
.church-window,
.church-bell {
  position: absolute;
}

.church-base {
  width: 200px;
  height: 110px;
  background: linear-gradient(180deg, #fbf5ed 0%, #efe3d4 100%);
  border: 1px solid rgba(150, 118, 76, 0.16);
  border-radius: 28px 28px 24px 24px;
  bottom: 0;
  box-shadow: 0 20px 40px rgba(98, 77, 56, 0.08);
}

.church-body {
  width: 150px;
  height: 160px;
  background: #fffdf7;
  border: 1px solid rgba(132, 103, 73, 0.17);
  border-radius: 18px;
  bottom: 32px;
  left: calc(50% - 75px);
}

.church-roof {
  width: 170px;
  height: 90px;
  background: linear-gradient(180deg, #b18d61 0%, #8f6b3f 100%);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  bottom: 150px;
  left: calc(50% - 85px);
}

.church-door {
  width: 42px;
  height: 72px;
  background: linear-gradient(180deg, #ad8a62 0%, #846139 100%);
  border-radius: 0 0 12px 12px;
  bottom: 32px;
  left: calc(50% - 21px);
}

.church-window {
  width: 30px;
  height: 40px;
  background: #f7f1e7;
  border: 1px solid rgba(150, 118, 76, 0.2);
  border-radius: 8px;
  bottom: 88px;
}

.church-window.left {
  left: calc(50% - 70px);
}

.church-window.right {
  left: calc(50% + 40px);
}

.church-bell {
  width: 10px;
  height: 30px;
  background: #f2d6a9;
  border-radius: 6px;
  bottom: 182px;
  left: calc(50% - 5px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.fade-up {
  animation: fadeUp 1.1s ease both;
}

hero-card {
  animation: fadeUp 1.2s ease both;
}

.church-illustration {
  animation: float 6s ease-in-out infinite;
}

.reveal-on-scroll,
.reveal-delay {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-delay {
  transition-duration: 0.9s;
}

.reveal-on-scroll.visible,
.reveal-delay.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 540px) {
  .hero-card {
    padding: 38px 34px 38px;
  }
}

@media (max-width: 420px) {
  body {
    padding: 18px 12px 34px;
  }

  .page-shell {
    width: 100%;
  }

  .hero-card {
    padding: 28px 20px 30px;
  }

  .info-grid {
    gap: 14px;
  }
}
