/* =========================================================
   Centro de Alabanza — estilos
   Paleta: azul bebé, blanco y crema
   ========================================================= */
:root {
  --sky: #a9ccea;
  --sky-soft: #d8e9f7;
  --sky-mist: #eef5fc;
  --sky-deep: #6f9cc6;
  --ink: #2b3f55;
  --ink-soft: #5b6f84;
  --cream: #fbf6ec;
  --cream-2: #f3e9d6;
  --white: #ffffff;
  --gold: #f0d9a4;
  --radius: 28px;
  --shadow: 0 20px 50px -24px rgba(43, 63, 85, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
h1 em, h2 em, .brand-text em, .footer-name em { font-style: italic; color: var(--sky-deep); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { position: relative; padding: clamp(80px, 12vw, 140px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sky-deep); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 10px; height: 14px; background: currentColor;
  clip-path: polygon(40% 0, 60% 0, 60% 28%, 100% 28%, 100% 44%, 60% 44%, 60% 100%, 40% 100%, 40% 44%, 0 44%, 0 28%, 40% 28%);
}

/* Botones */
.btn {
  --bg: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--white);
  font: 500 1rem var(--sans); text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 10px 24px -12px rgba(43, 63, 85, .6);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--sky-deep); transform: translateY(101%);
  border-radius: inherit; transition: transform .45s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateY(0); }
.btn-ghost { background: rgba(255,255,255,.6); color: var(--ink); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1.5px rgba(43,63,85,.15); }
.btn-ghost::after { background: var(--white); }
.btn-sm { padding: 10px 20px; font-size: .92rem; }

/* =========================================================
   Navegación
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled {
  background: rgba(251, 246, 236, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(43,63,85,.08);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(145deg, var(--sky), var(--sky-deep));
  display: grid; place-items: center; color: var(--white);
  box-shadow: 0 8px 18px -8px rgba(111,156,198,.9);
}
.brand-mark svg { width: 15px; height: 22px; }
.brand-mark.big { width: 56px; height: 56px; border-radius: 16px; }
.brand-mark.big svg { width: 20px; height: 30px; }
.brand-text { font-family: var(--serif); font-size: 1.3rem; letter-spacing: -.01em; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  text-decoration: none; font-size: .96rem; position: relative; padding: 4px 0;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--sky-deep); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 7px;
    width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.75); backdrop-filter: blur(8px); position: relative; z-index: 2;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
  .nav.open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px;
    background: linear-gradient(180deg, var(--sky-soft), var(--cream));
    clip-path: circle(0 at calc(100% - 44px) 40px);
    transition: clip-path .7s var(--ease);
  }
  .nav.open .nav-links { clip-path: circle(150% at calc(100% - 44px) 40px); }
  .nav-links a:not(.btn) { font-family: var(--serif); font-size: 2rem; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; align-items: center;
  padding: 130px 0 110px;
  background: linear-gradient(180deg, #9fc6e8 0%, #c3dcf2 38%, #e8f1f8 68%, var(--cream) 100%);
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.sun {
  position: absolute; width: 60vmax; height: 60vmax; right: -12vmax; top: -18vmax;
  background: radial-gradient(circle, rgba(255,250,235,.95) 0%, rgba(255,244,214,.55) 25%, rgba(255,255,255,0) 60%);
  filter: blur(4px);
}
.rays {
  position: absolute; width: 140vmax; height: 140vmax; right: -58vmax; top: -62vmax;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.22) 0deg 4deg, rgba(255,255,255,0) 4deg 14deg);
  mask-image: radial-gradient(circle, #000 0%, transparent 55%);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 55%);
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cloud { position: absolute; pointer-events: none; will-change: transform; }

/* Nubes realistas: se pintan en un canvas (ver script.js) */
.cloud canvas { display: block; width: 100%; height: 100%; }
.c1 { width: 340px; height: 153px; top: 14%; left: -6%; opacity: .95; animation: drift 46s ease-in-out infinite alternate; }
.c2 { width: 220px; height: 99px; top: 30%; right: 30%; opacity: .7; animation: drift 38s ease-in-out infinite alternate-reverse; }
.c3 { width: 480px; height: 216px; bottom: 6%; left: 40%; opacity: .9; animation: drift 60s ease-in-out infinite alternate; }
.c4 { width: 180px; height: 81px; top: 62%; left: 6%; opacity: .75; animation: drift 34s ease-in-out infinite alternate-reverse; }
.c5 { width: 300px; height: 135px; top: 8%; right: -4%; opacity: .85; animation: drift 52s ease-in-out infinite alternate; }
@keyframes drift { from { translate: -40px 0; } to { translate: 60px 0; } }

/* Paloma */
.dove {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 14px 18px rgba(62, 92, 122, .22));
  animation: glide 3.2s ease-in-out infinite;
  transform-origin: 55% 60%;
}
@keyframes glide {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(6px) rotate(2deg); }
}
.dove-path {
  --dove-w: clamp(110px, 11vw, 170px);
  position: absolute; width: var(--dove-w); top: max(64px, 7%); left: calc(var(--dove-w) * -0.85);
  animation: fly 13s linear infinite;
}
@keyframes fly {
  0%   { transform: translate(0, 10px) rotate(-3deg); }
  25%  { transform: translate(30vw, -6px) rotate(2deg); }
  50%  { transform: translate(60vw, 12px) rotate(-2deg); }
  75%  { transform: translate(90vw, -8px) rotate(3deg); }
  100% { transform: translate(calc(100vw + 260px), 4px) rotate(-2deg); }
}


.hero-inner { position: relative; z-index: 2; width: min(1180px, 100% - 40px); margin-inline: auto; }
.hero-title { font-size: clamp(3.4rem, 11vw, 9rem); line-height: .95; margin-bottom: 28px; letter-spacing: -.03em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.2s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .15s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 520px; color: var(--ink-soft); }
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-cross {
  position: absolute; z-index: 1; right: 12%; top: 50%;
  width: clamp(120px, 16vw, 210px); aspect-ratio: 2 / 3; translate: 0 -50%;
  color: var(--white);
  animation: float 7s ease-in-out infinite;
}
.hero-cross svg { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 20px 30px rgba(111,156,198,.35)); }
.hero-cross .glow {
  position: absolute; inset: -60%;
  background: radial-gradient(circle, rgba(255,240,200,.9) 0%, rgba(255,240,200,.35) 30%, transparent 62%);
  animation: pulse 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes pulse { 0%,100% { opacity: .65; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; z-index: 2;
  width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(43,63,85,.35);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--ink); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .dove-path { animation-duration: 8s; }
  .hero-cross { right: 6%; top: 24%; opacity: .55; width: 110px; }
  .c3 { width: 320px; height: 144px; left: 20%; }
}

/* =========================================================
   Cinta animada
   ========================================================= */
.marquee { background: var(--white); border-block: 1px solid rgba(43,63,85,.07); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.6rem); color: var(--ink); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--sky); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Nosotros
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; aspect-ratio: 1 / 1.05; }
.photo {
  margin: 0; position: absolute; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--sky-soft), var(--cream-2));
  box-shadow: var(--shadow);
}
.photo img, .min-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-a { inset: 0 22% 14% 0; border-radius: 200px 200px var(--radius) var(--radius); }
.photo-b { width: 48%; aspect-ratio: 4/5; right: 0; bottom: 0; border: 8px solid var(--cream); }
.badge-spin {
  position: absolute; width: 130px; height: 130px; left: -18px; bottom: 4%;
  border-radius: 50%; background: var(--sky); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.badge-spin > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-spin text { font: 500 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; fill: var(--ink); }
.badge-cross { width: 20px; height: 30px; color: var(--white); }

.stats { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stats li {
  background: var(--white); border-radius: 20px; padding: 18px 16px;
  box-shadow: 0 10px 30px -22px rgba(43,63,85,.5);
}
.stats strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--sky-deep); }
.stats span { font-size: .88rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; width: 100%; margin-inline: auto; }
  .badge-spin { left: 0; width: 108px; height: 108px; }
}
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* =========================================================
   Versículo
   ========================================================= */
.verse {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(110px, 16vw, 190px) 0;
  background: linear-gradient(180deg, var(--sky-soft), var(--sky) 55%, var(--sky-soft));
}
.verse blockquote { margin-inline: auto; max-width: 980px; position: relative; z-index: 1; }
.verse-text { font-family: var(--serif); font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.18; letter-spacing: -.015em; margin-bottom: 26px; }
.verse-text .w { display: inline-block; opacity: .14; transition: opacity .5s ease; }
.verse-text .w.on { opacity: 1; }
.verse cite { font-style: normal; letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; color: var(--ink); }
.v1 { width: 420px; height: 189px; left: -120px; top: 6%; opacity: .85; animation: drift 40s ease-in-out infinite alternate; }
.v2 { width: 360px; height: 162px; right: -100px; bottom: 4%; opacity: .9; animation: drift 48s ease-in-out infinite alternate-reverse; }
.dove-float { position: absolute; width: clamp(100px, 10vw, 150px); right: 10%; top: 10%; animation: float 6s ease-in-out infinite; }

/* =========================================================
   Creemos
   ========================================================= */
.beliefs { background: var(--cream); }
.belief-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.belief {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 34px 28px 30px; overflow: hidden;
  box-shadow: 0 14px 40px -28px rgba(43,63,85,.45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.belief::before {
  content: ""; position: absolute; inset: auto -30% -60% -30%; height: 70%;
  background: radial-gradient(ellipse at center, var(--sky-soft), transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.belief:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(43,63,85,.5); }
.belief:hover::before { opacity: 1; }
.belief > * { position: relative; }
.belief-num { position: absolute; top: 22px; right: 26px; font-family: var(--serif); font-style: italic; color: var(--sky); font-size: 1.1rem; }
.belief-icon {
  width: 58px; height: 58px; border-radius: 18px; margin-bottom: 24px;
  display: grid; place-items: center; color: var(--sky-deep);
  background: var(--sky-mist);
  transition: transform .6s var(--ease), background .4s, color .4s;
}
.belief:hover .belief-icon { transform: rotate(-8deg) scale(1.06); background: var(--sky-deep); color: var(--white); }
.belief-icon svg { width: 28px; height: 28px; }
.belief p { color: var(--ink-soft); font-size: .98rem; }
.ref { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-deep); font-weight: 500; }

@media (max-width: 1050px) { .belief-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .belief-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Horarios
   ========================================================= */
.schedule { background: linear-gradient(180deg, var(--cream) 0%, var(--sky-mist) 100%); overflow: hidden; }
.s1 { width: 520px; height: 234px; right: -160px; top: 40px; opacity: .9; animation: drift 50s ease-in-out infinite alternate; }
.schedule-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.schedule-copy p { color: var(--ink-soft); margin-bottom: 28px; }
.times { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.time {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  border-radius: 22px; padding: 18px 26px 18px 18px;
  box-shadow: 0 12px 34px -26px rgba(43,63,85,.5);
  transition: transform .45s var(--ease);
}
.time:hover { transform: translateX(8px); }
.time h3 { font-size: 1.15rem; margin: 0 0 2px; }
.time p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.time time { font-family: var(--serif); font-size: 1.2rem; white-space: nowrap; }
.day {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--sky-mist); color: var(--sky-deep);
  font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem;
}
.time.featured { background: var(--ink); color: var(--white); }
.time.featured p { color: rgba(255,255,255,.7); }
.time.featured .day { background: var(--sky); color: var(--ink); }

@media (max-width: 900px) { .schedule-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .time { grid-template-columns: auto 1fr; gap: 14px; padding-right: 18px; }
  .time time { grid-column: 2; font-size: 1.05rem; }
  .day { width: 52px; height: 52px; grid-row: span 2; }
}

/* =========================================================
   Ministerios
   ========================================================= */
.ministries { background: var(--sky-mist); }
.min-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.min-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 14px 40px -30px rgba(43,63,85,.5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.min-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(43,63,85,.55); }
.min-card figure {
  margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(160deg, var(--sky-soft), var(--cream-2));
}
.min-card img { transition: transform 1.2s var(--ease); }
.min-card:hover img { transform: scale(1.07); }
.min-body { padding: 24px 26px 28px; }
.min-body h3 { margin-bottom: 6px; }
.min-body p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

@media (max-width: 960px) { .min-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .min-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Visítanos
   ========================================================= */
.visit { background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.visit-card {
  background: var(--white); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.visit-info { margin: 28px 0; display: grid; gap: 18px; }
.visit-info div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed rgba(43,63,85,.15); }
.visit-info dt { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-deep); font-weight: 500; padding-top: 3px; }
.visit-info dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; }
.visit-info dd a { text-decoration: none; border-bottom: 1.5px solid var(--sky); transition: border-color .3s; }
.visit-info dd a:hover { border-color: var(--sky-deep); }
.visit-btn { margin-bottom: 24px; }
.visit-note { color: var(--ink-soft); margin: 0; }
.map {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 380px;
  background: var(--sky-soft); box-shadow: var(--shadow);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } .map { min-height: 300px; } }
@media (max-width: 480px) { .visit-info div { grid-template-columns: 1fr; gap: 2px; } }

/* =========================================================
   Oración
   ========================================================= */
.prayer { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.prayer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.prayer-grid > div > p { color: var(--ink-soft); }
.mini-verse { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink) !important; border-left: 3px solid var(--sky); padding-left: 18px; margin-top: 28px; }
.mini-verse span { font-family: var(--sans); font-style: normal; font-size: .85rem; color: var(--ink-soft); display: block; margin-top: 4px; }
.prayer-form {
  background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow); display: grid; gap: 18px;
}
.prayer-form label { display: grid; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--ink-soft); }
.prayer-form input, .prayer-form textarea {
  font: 400 1rem var(--sans); color: var(--ink);
  border: 1.5px solid rgba(43,63,85,.12); border-radius: 16px; padding: 14px 16px;
  background: var(--sky-mist); resize: vertical;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.prayer-form input:focus, .prayer-form textarea:focus {
  outline: none; border-color: var(--sky-deep); background: var(--white);
  box-shadow: 0 0 0 4px rgba(169,204,234,.45);
}
.prayer-form .btn { justify-self: start; }
.form-thanks { margin: 0; color: var(--sky-deep); font-weight: 500; min-height: 1em; }

@media (max-width: 900px) { .prayer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Pie de página
   ========================================================= */
.footer {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-soft), var(--sky));
  padding: 110px 0 30px;
}
.f1 { width: 380px; height: 171px; left: -90px; top: 0; opacity: .9; animation: drift 44s ease-in-out infinite alternate; }
.f2 { width: 300px; height: 135px; right: 8%; top: 6px; opacity: .8; animation: drift 40s ease-in-out infinite alternate; }
.footer-inner { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer-name { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); margin: 16px 0 4px; line-height: 1; }
.footer-brand p:not(.footer-name) { color: var(--ink-soft); margin: 0; }
.footer-addr { margin-top: 10px !important; font-size: .92rem; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { position: relative; margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(43,63,85,.15); font-size: .88rem; color: var(--ink-soft); }

/* =========================================================
   Animaciones al hacer scroll
   ========================================================= */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* Imagen que no carga: se muestra el fondo suave */
img.broken { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .dove-path { left: 60%; }
  .verse-text .w { opacity: 1; }
}

/* Nube bajo la cruz del inicio */
.hero-cross .cross-cloud { position: absolute; width: 230%; height: auto; aspect-ratio: 200 / 90; left: -65%; bottom: -28%; filter: drop-shadow(0 14px 20px rgba(111,156,198,.2)); }
