:root {
  --black: #0b0708;
  --ink: #171113;
  --wine: #6d1f3a;
  --wine-2: #8f2f50;
  --cream: #fbf7f2;
  --muted: #b9adb2;
  --line: rgba(255, 255, 255, .14);
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

a {
  color: inherit
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(8, 5, 6, .74);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 3px
}

.nav {
  display: flex;
  gap: 22px;
  font-size: .95rem;
  color: rgba(255, 255, 255, .82)
}

.nav a {
  text-decoration: none
}

.nav a:hover {
  color: #fff
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px clamp(22px, 7vw, 96px) 80px;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/exterior.jpg') center/cover no-repeat;
  transform: scale(1.03)
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 3, 4, .92), rgba(18, 5, 10, .62), rgba(6, 3, 4, .22)), radial-gradient(circle at 25% 70%, rgba(109, 31, 58, .42), transparent 34%)
}

.hero-content {
  position: relative;
  max-width: 820px;
  z-index: 2
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #d9a7ba;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 800
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05
}

h1 {
  font-family: Cinzel, serif;
  font-size: clamp(3.4rem, 9vw, 8.8rem);
  font-weight: 700;
  letter-spacing: -.05em;
  text-wrap: balance
}

h2 {
  font-family: Cinzel, serif;
  font-size: clamp(2rem, 4vw, 4.1rem);
  letter-spacing: -.04em
}

h3 {
  font-size: 1.35rem
}

.hero-copy {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
  max-width: 640px;
  color: rgba(255, 255, 255, .86)
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: .25s ease
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--wine), var(--wine-2));
  color: #fff;
  box-shadow: 0 16px 36px rgba(109, 31, 58, .35)
}

.btn-secondary {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .35)
}

.btn-secondary.dark {
  color: var(--wine);
  background: #fff;
  border-color: #eadde3
}

.hero-card {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: clamp(25px, 7vw, 70px);
  z-index: 2;
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 22px;
  border-radius: 26px;
  box-shadow: var(--shadow)
}

.hero-card span {
  display: block;
  color: rgba(255, 255, 255, .74);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 8px
}

.hero-card strong {
  font-size: 1.35rem
}

.section-pad {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px)
}

.container {
  max-width: 1180px;
  margin: 0 auto
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center
}

.align-start {
  align-items: start
}

.intro p:not(.section-kicker) {
  font-size: 1.14rem;
  line-height: 1.8;
  color: #594e52
}

.dark-panel {
  background: linear-gradient(135deg, #0b0708, #241018);
  color: #fff
}

.center {
  text-align: center;
  margin-inline: auto
}

.section-title {
  max-width: 760px;
  margin-bottom: 42px
}

.section-title.center {
  margin-bottom: 46px
}

.section-title p {
  line-height: 1.7;
  color: #6e6268
}

.dark-panel .section-kicker,
.dark-panel .section-title p {
  color: #d8b4c1
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px
}

.schedule-card {
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  box-shadow: var(--shadow)
}

.schedule-card.main-card {
  background: linear-gradient(135deg, var(--wine), #37111f)
}

.schedule-card span {
  color: #e9c4d1;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .8rem;
  font-weight: 800
}

.schedule-card h3 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin: 10px 0;
  font-family: Cinzel, serif
}

.schedule-card p {
  color: rgba(255, 255, 255, .78);
  line-height: 1.7
}

.feature-card {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 44px;
  align-items: center;
  background: #fff;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(60, 30, 40, .12)
}

.feature-image img {
  height: 100%;
  min-height: 430px;
  width: 100%;
  object-fit: cover
}

.feature-copy {
  padding: clamp(28px, 5vw, 62px)
}

.feature-copy p {
  line-height: 1.8;
  color: #62575b
}

.text-link {
  color: var(--wine);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid var(--wine)
}

.beliefs {
  background: #fff
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.belief-grid article {
  padding: 26px;
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid #eadfe3;
  transition: .25s ease
}

.belief-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(60, 30, 40, .1)
}

.belief-grid h3 {
  color: var(--wine);
  margin-bottom: 10px
}

.belief-grid p {
  color: #645b5e;
  line-height: 1.72;
  margin: 0
}

.gallery {
  background: #13090d;
  color: #fff
}

.gallery .section-kicker {
  color: #d9a7ba
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-auto-rows: 300px;
  gap: 18px;
}

/* Todas las imágenes */
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
}

/* Primera imagen grande */
.photo-grid img:first-child {
  grid-row: span 2;
}

/* Segunda imagen */
.photo-grid img:nth-child(2) {
  object-position: center;
}

/* Tercera imagen */
.photo-grid img:nth-child(3) {
  object-position: center;
}

/* Cuarta imagen (la de abajo completa) */
.photo-grid img:nth-child(4) {
  object-fit: contain;
  object-position: center;
  background: #12060b;
  padding: 6px;
}

/* Quinta imagen por si agregas más */
.photo-grid img:nth-child(5) {
  object-position: center;
}

.prayer {
  background: linear-gradient(180deg, #fbf7f2, #fff)
}

.prayer p {
  line-height: 1.8;
  color: #645b5e
}

.prayer-form {
  background: #fff;
  padding: 30px;
  border-radius: 30px;
  box-shadow: 0 24px 80px rgba(60, 30, 40, .12);
  display: grid;
  gap: 12px
}

.prayer-form label {
  font-weight: 800;
  color: #3b3034
}

.prayer-form input,
.prayer-form textarea {
  width: 100%;
  border: 1px solid #e5d9dd;
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  background: #fffaf7
}

.prayer-form textarea {
  resize: vertical
}

.prayer-form button {
  border: 0;
  margin-top: 8px
}

.location {
  background: #fff
}

.location p {
  line-height: 1.8;
  color: #645b5e
}

.map-card {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(60, 30, 40, .14);
  border: 1px solid #eadfe3;
  min-height: 360px;
  background: #eee
}

.social-section {
  text-align: center;
  padding: 74px 20px;
  background: linear-gradient(135deg, #0b0708, #260f18);
  color: #fff
}

.social-section h2 {
  font-family: Cinzel, serif;
  font-size: clamp(2rem, 4vw, 3.6rem)
}

.social-section p {
  color: #d8cdd1;
  margin: 12px 0 28px
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap
}

.social-btn {
  text-decoration: none;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: .25s ease;
  color: white
}

.fb {
  background: #1877f2
}

.ig {
  background: linear-gradient(135deg, var(--wine), #ba4f76)
}

.social-btn:hover {
  transform: translateY(-3px);
  opacity: .92
}

.footer {
  background: #080506;
  color: #fff;
  padding: 36px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto 24px
}

.footer img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 4px
}

.footer p {
  margin: 5px 0;
  color: #cfc6ca
}

.copyright {
  text-align: center;
  color: #a89fa3;
  font-size: .9rem
}

.reveal {
  animation: rise .9s ease both
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

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

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

  .brand span {
    display: none
  }

  .nav {
    gap: 12px;
    font-size: .83rem;
    flex-wrap: wrap;
    justify-content: flex-end
  }

  .hero {
    padding-top: 120px;
    min-height: 92svh
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
    width: fit-content
  }

  .hero {
    display: block
  }

  .hero-content {
    margin-top: 90px
  }

  .two-col,
  .schedule-grid,
  .feature-card,
  .belief-grid {
    grid-template-columns: 1fr
  }



  .feature-image img {
    min-height: 320px
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5.2rem)
  }
}
@media (max-width: 768px) {

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
  }

  .photo-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 22px;
  }

  .photo-grid img:first-child {
    grid-row: span 1;
  }
}

@media (max-width:520px) {
  .nav a:nth-child(2) {
    display: none
  }

  .section-pad {
    padding-left: 18px;
    padding-right: 18px
  }

  .hero-actions .btn {
    width: 100%
  }

  .hero-card {
    width: 100%
  }

  .schedule-card h3 {
    font-size: 2.5rem
  }

  .belief-grid article {
    padding: 22px
  }

  .footer-inner {
    align-items: flex-start
  }
}