:root {
  color-scheme: light;
  --ink: #12231e;
  --ink-deep: #0c1915;
  --night: #07110e;
  --paper: #f5f0e6;
  --paper-soft: #fbf8f1;
  --white: #fffdf8;
  --sage: #a9bcae;
  --sage-deep: #2f5448;
  --gold: #caa45d;
  --gold-light: #ecd6a4;
  --gold-deep: #7d5c22;
  --teal: #3fb8c2;
  --leaf: #79c35a;
  --muted: #5f6a64;
  --line: rgba(18, 35, 30, .13);
  --line-light: rgba(255, 255, 255, .13);
  --shadow: 0 30px 80px rgba(12, 25, 21, .16);
  --radius: 22px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--gold); color: var(--ink-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.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;
}
.skip-link {
  position: fixed;
  z-index: 999;
  top: 14px;
  left: 14px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: clamp(96px, 11vw, 160px) 0; }

.reading-progress { position: fixed; z-index: 300; top: 0; left: 0; right: 0; height: 2px; pointer-events: none; }
.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

/* Tipografía editorial ------------------------------------------------ */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-deep);
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.2;
  text-transform: uppercase;
}
.kicker > span { width: 34px; height: 1px; background: currentColor; }
.kicker.light { color: var(--gold-light); }

.hero h1, .section-heading h2, .story h2, .about h2, .visit h2, .contact h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.045em;
}
.hero h1 em, .section-heading h2 em, .story h2 em, .about h2 em, .visit h2 em, .contact h2 em, .footer-word em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
}

/* Navegación ---------------------------------------------------------- */
.site-nav {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  right: 0;
  color: white;
  --dove-body: #fff;
  --dove-ring: rgba(236, 214, 164, .85);
  --dove-star: var(--gold-light);
  transition: background .3s ease, border-color .3s ease, color .3s ease, transform .35s var(--ease);
}
.site-nav.scrolled {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  color: var(--ink);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  --dove-body: var(--ink);
  --dove-ring: var(--gold);
  --dove-star: var(--gold);
}
.site-nav.hidden { transform: translateY(-105%); }
.nav-inner {
  width: min(calc(100% - 48px), 1420px);
  height: 84px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 13px; flex: 0 1 auto; min-width: 0; }
.brand-mark { width: 50px; height: 50px; flex: 0 0 auto; overflow: visible; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.04); }
.brand span { min-width: 0; }
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
  white-space: nowrap;
}
.brand small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  opacity: .72;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a {
  position: relative;
  padding: 10px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .03em;
  transition: color .2s ease, background .2s ease;
}
.nav-links > a:not(.nav-give)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links > a:not(.nav-give):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links .nav-give {
  margin-left: 10px;
  padding-inline: 20px;
  background: var(--gold);
  color: var(--ink-deep);
  box-shadow: 0 10px 28px rgba(202, 164, 93, .28);
}
.nav-links .nav-give:hover { background: var(--gold-light); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle i { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.25px) rotate(-45deg); }
.site-nav.scrolled .menu-toggle { border-color: var(--line); }

/* Portada ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: max(680px, min(100svh, 1000px));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
  color: white;
}
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -3; }
.hero-media { overflow: hidden; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 30% 42%; animation: hero-zoom 22s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.09); } to { transform: scale(1.01); } }
.hero-shade {
  z-index: -2;
  background:
    radial-gradient(120% 90% at 78% 30%, transparent 30%, rgba(5, 13, 11, .55) 100%),
    linear-gradient(90deg, rgba(6, 16, 13, .94) 0%, rgba(6, 16, 13, .82) 30%, rgba(6, 16, 13, .35) 60%, rgba(6, 16, 13, .15) 100%),
    linear-gradient(0deg, rgba(6, 16, 13, .92) 0%, rgba(6, 16, 13, .3) 30%, transparent 55%),
    linear-gradient(180deg, rgba(6, 16, 13, .55), transparent 22%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: .07;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-halo {
  position: absolute;
  z-index: -1;
  width: min(96vw, 1320px);
  aspect-ratio: 1;
  right: -34vw;
  top: -58%;
  rotate: 18deg;
  overflow: visible;
  pointer-events: none;
}
.hero-halo path {
  fill: none;
  stroke: rgba(236, 214, 164, .3);
  stroke-width: .5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 3.2s .5s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-content { padding-top: 120px; padding-bottom: 150px; }
.hero-content > * { animation: rise 1.1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .24s; }
.hero-content > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero h1 {
  max-width: 900px;
  margin-top: 26px;
  font-size: clamp(58px, 8vw, 116px);
  line-height: .9;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .25);
}
.hero h1 em { display: inline-block; margin-top: .06em; color: var(--gold-light); font-size: 1.08em; line-height: .9; }
.hero-copy { max-width: 540px; margin-top: 30px; color: rgba(255, 255, 255, .8); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease), box-shadow .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--gold); color: var(--ink-deep); box-shadow: 0 18px 40px rgba(202, 164, 93, .3); }
.button.primary:hover { background: var(--gold-light); box-shadow: 0 22px 50px rgba(202, 164, 93, .4); }
.button.ghost { border-color: rgba(255, 255, 255, .34); color: white; background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.button.ghost:hover { border-color: white; background: rgba(255, 255, 255, .1); }
.button.dark { background: var(--ink); color: white; }
.button.dark:hover { background: var(--sage-deep); }
.play { width: 26px; height: 26px; display: grid; place-items: center; padding-left: 2px; border-radius: 50%; background: white; color: var(--ink); font-size: 9px; }

.hero-footer {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  transform: translateX(-50%);
}
.hero-place { display: flex; align-items: center; gap: 13px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 6px rgba(121, 195, 90, .16); animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(121, 195, 90, 0); } }
.hero-place small, .hero-place strong { display: block; line-height: 1.35; }
.hero-place small { color: rgba(255, 255, 255, .6); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.hero-place strong { margin-top: 2px; font-size: 13px; }

/* Sello giratorio con la paloma */
.seal {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, .78);
  --dove-body: #fff;
  --dove-star: var(--gold-light);
  transition: color .3s ease, transform .5s var(--ease);
}
.seal::before { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(236, 214, 164, .35); border-radius: 50%; transition: background .3s ease, border-color .3s ease; }
.seal:hover { color: var(--gold-light); transform: translateY(-3px); }
.seal:hover::before { background: rgba(255, 255, 255, .06); border-color: var(--gold-light); }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 26s linear infinite; }
.seal-ring text { fill: currentColor; font-family: var(--body); font-size: 15.5px; font-weight: 700; letter-spacing: .12em; }
.seal-dove { position: relative; width: 70px; height: 70px; margin-top: -4px; transition: opacity .3s ease, transform .4s var(--ease); }
.seal-arrow { position: absolute; font-size: 22px; color: var(--gold-light); opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .4s var(--ease); }
.seal:hover .seal-dove { opacity: 0; transform: translateY(8px) scale(.9); }
.seal:hover .seal-arrow { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Manifiesto ---------------------------------------------------------- */
.manifesto { border-bottom: 1px solid var(--line); background: var(--paper-soft); }
.manifesto-inner { min-height: 124px; display: flex; align-items: center; justify-content: center; gap: clamp(22px, 5vw, 76px); }
.manifesto p { font-family: var(--display); font-size: clamp(24px, 3.2vw, 44px); font-weight: 500; letter-spacing: -.04em; }
.manifesto p:nth-of-type(2) { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: clamp(27px, 3.6vw, 50px); }
.spark { width: 16px; height: 16px; flex: 0 0 auto; color: var(--gold); }

/* Encabezados de sección ---------------------------------------------- */
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: end; gap: 70px; margin-bottom: 64px; }
.section-heading h2, .story h2, .about h2, .visit h2, .contact h2 {
  margin-top: 22px;
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: .95;
}
.section-heading h2 em, .about h2 em { color: var(--sage-deep); font-size: 1.08em; }
.story h2 em, .visit h2 em { color: var(--gold-light); font-size: 1.08em; }
.section-heading > p { color: var(--muted); font-size: 18px; }

/* Camino ---------------------------------------------------------------- */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s ease;
}
.path-card:hover { transform: translateY(-6px); border-color: rgba(202, 164, 93, .5); box-shadow: var(--shadow); }
.path-image { position: relative; height: 260px; overflow: hidden; background: var(--ink); }
.path-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12, 25, 21, .5)); }
.path-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.path-card:hover .path-image img { transform: scale(1.06); }
.grow .path-image img { object-position: 53% 52%; }
.impact .path-image img { object-position: 25% center; }
.path-number { position: absolute; z-index: 1; right: 20px; bottom: 14px; color: white; font-family: var(--serif); font-size: 30px; font-style: italic; line-height: 1; }
.path-body { min-height: 340px; display: flex; flex-direction: column; padding: 32px 32px 34px; }
.path-label { color: var(--gold-deep); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.path-body h3 { margin-top: 10px; font-family: var(--display); font-size: 38px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.path-body > p:not(.path-label) { margin-top: 18px; color: var(--muted); font-size: 16px; }
.path-body > a { width: fit-content; display: inline-flex; gap: 8px; margin-top: auto; padding-top: 26px; font-size: 13.5px; font-weight: 700; }
.path-body > a span { transition: transform .3s var(--ease); }
.path-body > a:hover span { transform: translateX(4px); }
.path-body > a { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; }

/* Historia (video) ---------------------------------------------------- */
.story { position: relative; overflow: hidden; background: var(--ink-deep); color: white; isolation: isolate; }
.story::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .05; mix-blend-mode: overlay; pointer-events: none; }
.dove-lines { position: absolute; z-index: 0; overflow: visible; pointer-events: none; }
.dove-lines path {
  fill: none;
  stroke: currentColor;
  stroke-width: .45;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.6s var(--ease);
  transition-delay: calc(var(--i, 0) * .14s);
}
.dove-lines.visible path { stroke-dashoffset: 0; }
.story-dove { width: 700px; height: 700px; left: -190px; top: 50%; translate: 0 -50%; color: rgba(236, 214, 164, .13); }
.story-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(52px, 7vw, 100px); }
.story-copy > p:not(.kicker) { max-width: 470px; margin-top: 24px; color: rgba(255, 255, 255, .68); }
.story-quote { position: relative; margin-top: 48px; padding: 28px 0 0 52px; border-top: 1px solid var(--line-light); }
.story-quote > span { position: absolute; left: 0; top: 14px; color: var(--gold); font-family: var(--serif); font-size: 72px; line-height: 1; }
.story-quote p { max-width: 420px; font-family: var(--serif); font-size: 24px; font-style: italic; line-height: 1.35; }
.story-quote small { display: block; margin-top: 12px; color: var(--gold-light); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #050807; box-shadow: 0 40px 100px rgba(0, 0, 0, .4); }
.video-frame::before { content: ""; position: absolute; z-index: -1; inset: -14px 14px 14px -14px; border: 1px solid rgba(236, 214, 164, .35); border-radius: calc(var(--radius) + 6px); }
.video-frame iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

/* Enseñanza ------------------------------------------------------------- */
.teaching { background: var(--paper-soft); }
.teaching-heading { margin-bottom: 52px; }
.lesson-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.lesson {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 26px;
  border-radius: var(--radius);
  color: white;
  isolation: isolate;
}
.lesson-featured { grid-row: 1 / 3; padding: 36px; }
.lesson:nth-child(4) { grid-column: 2 / 4; }
.lesson img, .lesson-shade { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.lesson img { object-fit: cover; transition: transform 1s var(--ease); }
.lesson:hover img { transform: scale(1.06); }
.lesson-shade { z-index: -1; background: linear-gradient(180deg, rgba(8, 20, 16, .1) 20%, rgba(8, 20, 16, .9) 100%); }
.lesson-index { position: absolute; left: 26px; top: 24px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.lesson-play { position: absolute; right: 22px; top: 20px; width: 42px; height: 42px; display: grid; place-items: center; padding-left: 2px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; font-size: 10px; backdrop-filter: blur(6px); transition: background .25s ease, color .25s ease, border-color .25s ease; }
.lesson:hover .lesson-play { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); }
.lesson strong { font-family: var(--display); font-size: clamp(24px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.lesson small { margin-top: 8px; color: rgba(255, 255, 255, .75); font-size: 11.5px; }
.lesson-featured strong { font-family: var(--serif); font-size: clamp(42px, 4.6vw, 68px); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* Nosotros ------------------------------------------------------------ */
.about { position: relative; overflow: hidden; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(56px, 9vw, 130px); }
.pastors-photo { position: relative; width: min(100%, 470px); margin: 0 auto; padding: 0 0 34px; }
.pastors-photo::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -16px -16px 18px 16px;
  border: 1px solid var(--gold);
  border-radius: 999px 999px 26px 26px;
  opacity: .7;
}
.pastors-arch {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 582 / 780;
  border-radius: 999px 999px 26px 26px;
  background: #0b0f0b;
  box-shadow: var(--shadow);
}
.pastors-arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(7, 17, 14, .55));
  pointer-events: none;
}
.pastors-arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; transition: transform 1.4s var(--ease); }
.pastors-photo:hover .pastors-arch img { transform: scale(1.03); }
.pastors-seal {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: -34px;
  width: 104px;
  height: 104px;
  padding: 14px;
  border-radius: 50%;
  background: var(--ink-deep);
  box-shadow: 0 18px 40px rgba(12, 25, 21, .3);
  --dove-body: #fff;
  --dove-ring: var(--gold);
  --dove-star: var(--gold-light);
}
.pastors-photo figcaption {
  position: absolute;
  z-index: 3;
  right: -30px;
  bottom: 0;
  width: min(300px, 80%);
  padding: 22px 26px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(12, 25, 21, .18);
}
.pastors-photo figcaption span, .pastors-photo figcaption strong { display: block; }
.pastors-photo figcaption span { color: var(--gold-deep); font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.pastors-photo figcaption strong { margin-top: 6px; font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.12; }
.about-copy > p:not(.kicker) { margin-top: 22px; color: var(--muted); }
.about-copy .about-lead { color: var(--ink); font-family: var(--display); font-size: clamp(19px, 1.9vw, 23px); font-weight: 400; letter-spacing: -.015em; line-height: 1.5; }
.belief-reference { display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: center; gap: 14px; margin-top: 34px; padding: 22px 0; border-block: 1px solid var(--line); }
.belief-reference > span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-deep); font-family: var(--serif); font-size: 16px; font-style: italic; }
.belief-reference small, .belief-reference strong { display: block; }
.belief-reference small { color: var(--muted); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.belief-reference strong { margin-top: 2px; font-family: var(--display); font-size: 15px; font-weight: 600; }
.text-link { width: fit-content; display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 700; transition: gap .3s var(--ease), color .2s ease; }
.text-link:hover { gap: 14px; }

/* Galería --------------------------------------------------------------- */
.gallery { overflow: hidden; padding: 16px 0; background: var(--ink-deep); }
.gallery-track { width: max-content; display: grid; grid-template-columns: repeat(5, clamp(250px, 26vw, 420px)); grid-auto-rows: 300px; gap: 16px; animation: gallery-drift 40s linear infinite alternate; }
.gallery figure { overflow: hidden; border-radius: 16px; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.02); }
.gallery figure.tall img { object-position: center 28%; }
@keyframes gallery-drift { from { transform: translateX(0); } to { transform: translateX(calc(-100% + 100vw)); } }

/* Visítanos ------------------------------------------------------------- */
.visit { position: relative; overflow: hidden; background: var(--sage-deep); color: white; isolation: isolate; }
.visit::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 70% at 100% 100%, rgba(202, 164, 93, .22), transparent 62%), radial-gradient(60% 60% at 0% 0%, rgba(63, 184, 194, .12), transparent 60%); pointer-events: none; }
.visit::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay; pointer-events: none; }
.visit-dove { width: min(52vw, 700px); height: min(52vw, 700px); right: -3vw; top: -40px; color: rgba(236, 214, 164, .22); }
.visit-intro { position: relative; z-index: 1; max-width: 860px; }
.visit-intro > p:not(.kicker) { max-width: 580px; margin-top: 24px; color: rgba(255, 255, 255, .74); font-size: 18px; }
.visit-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.visit-card { min-height: 405px; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); background: var(--paper-soft); color: var(--ink); box-shadow: 0 24px 60px rgba(7, 17, 14, .18); }
.visit-card-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-deep); font-family: var(--serif); font-size: 18px; font-style: italic; }
.card-kicker { margin-top: 34px; color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.schedule-list { margin-top: 12px; }
.schedule-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.schedule-list span { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.schedule-list strong { color: var(--gold-deep); font-family: var(--serif); font-size: 28px; font-style: italic; font-weight: 400; }
.card-note { margin-top: auto; padding-top: 22px; color: var(--muted); font-size: 13px; }
.address-card h3 { margin-top: 15px; font-family: var(--display); font-size: clamp(27px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
.address-card > p:not(.card-kicker) { margin: 18px 0 26px; color: var(--muted); }
.address-card .button { width: fit-content; margin-top: auto; }
.welcome-card ul { display: grid; gap: 14px; margin: 20px 0 28px; list-style: none; }
.welcome-card li { display: flex; gap: 12px; align-items: center; font-family: var(--display); font-size: 18px; font-weight: 500; }
.welcome-card li span { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: rgba(202, 164, 93, .2); color: var(--gold-deep); font-size: 12px; }
.welcome-card .text-link { margin-top: auto; }

/* Contacto -------------------------------------------------------------- */
.contact { position: relative; padding: clamp(92px, 10vw, 150px) 0; background: var(--ink-deep); color: white; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 9vw, 120px); }
.contact h2 { font-size: clamp(64px, 8.4vw, 116px); }
.contact-copy > p:not(.kicker) { max-width: 420px; margin-top: 24px; color: rgba(255, 255, 255, .64); }
.contact-list { border-top: 1px solid var(--line-light); }
.contact-list a { display: grid; grid-template-columns: minmax(130px, .55fr) 1fr auto; align-items: center; gap: 24px; padding: 26px 4px; border-bottom: 1px solid var(--line-light); transition: color .25s ease, padding .35s var(--ease); }
.contact-list a:hover { padding-inline: 12px; color: var(--gold-light); }
.contact-list span { color: rgba(255, 255, 255, .55); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-list strong { min-width: 0; font-family: var(--display); font-size: clamp(17px, 1.6vw, 23px); font-weight: 500; letter-spacing: -.02em; }
.contact-list i { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; font-style: normal; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.contact-list a:hover i { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); }

/* Pie ------------------------------------------------------------------ */
.site-footer { position: relative; overflow: hidden; padding: 0 0 28px; background: var(--night); color: white; }
.footer-hero {
  display: grid;
  justify-items: center;
  padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 7vw, 90px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
}
.footer-emblem { width: clamp(120px, 14vw, 170px); height: auto; aspect-ratio: 1; overflow: visible; --dove-body: #fff; --dove-ring: var(--gold); --dove-star: var(--gold-light); }
.footer-word { margin-top: 28px; font-family: var(--display); font-size: clamp(44px, 7.4vw, 108px); font-weight: 500; letter-spacing: -.05em; line-height: .95; }
.footer-word em { color: var(--gold-light); font-size: 1.08em; white-space: nowrap; }
.footer-tag { margin-top: 18px; color: rgba(255, 255, 255, .55); font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.footer-top { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 50px; padding-top: 40px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font-family: var(--display); font-size: 17px; font-weight: 600; }
.footer-brand span { margin-top: 3px; color: rgba(255, 255, 255, .5); font-size: 11px; letter-spacing: .06em; }
.footer-top nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-top nav a { color: rgba(255, 255, 255, .72); font-size: 12.5px; font-weight: 600; transition: color .2s ease; }
.footer-top nav a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; transition: background .25s ease, border-color .25s ease, color .25s ease; }
.footer-social svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .5); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.mobile-actions { display: none; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.path-grid .reveal:nth-child(2), .visit-grid .reveal:nth-child(2) { transition-delay: .1s; }
.path-grid .reveal:nth-child(3), .visit-grid .reveal:nth-child(3) { transition-delay: .2s; }

@media (max-width: 1080px) {
  .nav-links > a { padding-inline: 10px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { display: grid; grid-template-columns: .85fr 1.15fr; }
  .path-image { height: auto; min-height: 320px; }
  .path-body { min-height: 320px; }
  .lesson-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 260px 260px; }
  .lesson-featured { grid-column: 1 / 3; grid-row: 1; }
  .lesson:nth-child(4) { grid-column: 1 / 3; }
  .about-grid { grid-template-columns: 1fr; }
  .pastors-photo { width: min(440px, calc(100% - 60px)); }
  .about-copy { max-width: 720px; margin-top: 20px; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .welcome-card { grid-column: 1 / 3; min-height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
  .contact-copy .kicker { grid-column: 1 / 3; }
  .footer-top { grid-template-columns: 1fr auto; }
  .footer-top nav { grid-column: 1 / 3; grid-row: 2; justify-content: flex-start; }
}

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    padding: 110px 24px 34px;
    background: var(--paper);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links > a { padding: 13px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-family: var(--display); font-size: clamp(28px, 7vw, 54px); font-weight: 500; letter-spacing: -.03em; }
  .nav-links > a:not(.nav-give)::after { display: none; }
  .nav-links .nav-give { margin: 18px 0 0; padding: 17px 24px; border: 0; border-radius: 99px; text-align: center; font-family: var(--body); font-size: 17px; font-weight: 700; letter-spacing: 0; }
  .site-nav:has(.nav-links.open) { color: var(--ink); --dove-body: var(--ink); --dove-ring: var(--gold); --dove-star: var(--gold); }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { max-width: 620px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-copy { max-width: 660px; }
  .video-frame { width: 100%; }
  .story-dove { width: 560px; height: 560px; left: auto; right: -200px; top: -120px; bottom: auto; translate: none; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .site-footer { padding-bottom: 108px; }
  .shell, .nav-inner { width: min(calc(100% - 32px), var(--max)); }
  .nav-inner { height: 72px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 8px; }
  .hero { --hero-img: min(118vw, 540px); min-height: 0; display: block; }
  .hero-media, .hero-shade { bottom: auto; height: var(--hero-img); }
  .hero-media img { object-position: center 40%; }
  .hero-shade { background: linear-gradient(0deg, var(--night) 0%, rgba(7, 17, 14, .9) 22%, rgba(7, 17, 14, .3) 46%, rgba(7, 17, 14, 0) 62%, rgba(7, 17, 14, 0) 80%, rgba(7, 17, 14, .7) 100%); }
  .hero-halo { display: none; }
  .hero-footer { display: none; }
  .hero-content { padding-top: calc(var(--hero-img) - 44px); padding-bottom: 60px; }
  .hero h1 { font-size: clamp(50px, 15vw, 76px); }
  .hero-copy { margin-top: 20px; font-size: 16.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 30px; }
  .button { width: 100%; }
  .manifesto-inner { min-height: 92px; gap: 14px; }
  .manifesto p { font-size: clamp(18px, 6vw, 28px); }
  .manifesto p:nth-of-type(2) { font-size: clamp(21px, 7vw, 32px); }
  .spark { width: 11px; height: 11px; }
  .section { padding: 88px 0; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .story h2, .about h2, .visit h2 { font-size: clamp(44px, 12.5vw, 64px); }
  .path-card { display: block; }
  .path-image { min-height: 0; height: 230px; }
  .path-body { min-height: 300px; padding: 26px 24px; }
  .lesson-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .lesson, .lesson-featured, .lesson:nth-child(4) { grid-column: auto; grid-row: auto; min-height: 300px; }
  .lesson-featured { min-height: 410px; }
  .lesson strong { font-size: 30px; }
  .lesson-featured strong { font-size: 46px; }
  .pastors-photo { width: calc(100% - 44px); }
  .pastors-photo::before { inset: -10px -10px 18px 10px; }
  .pastors-seal { width: 80px; height: 80px; left: -18px; top: 14px; padding: 10px; }
  .pastors-photo figcaption { right: -18px; width: 86%; padding: 18px 20px; }
  .pastors-photo figcaption strong { font-size: 22px; }
  .belief-reference { grid-template-columns: auto 1fr; }
  .gallery-track { grid-template-columns: repeat(5, 280px); grid-auto-rows: 240px; animation: none; overflow-x: auto; }
  .visit-dove { width: 110vw; height: 110vw; right: -45vw; top: -20px; }
  .story-dove { width: 520px; height: 520px; left: auto; right: -220px; top: -140px; bottom: auto; translate: none; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-card, .welcome-card { grid-column: auto; min-height: 0; }
  .contact-copy { display: block; }
  .contact h2 { font-size: clamp(52px, 17vw, 80px); }
  .contact-grid > * { min-width: 0; }
  .contact-copy > p:not(.kicker) { margin-top: 18px; }
  .contact-list a { grid-template-columns: 1fr auto; gap: 8px 20px; }
  .contact-list span { grid-column: 1 / 2; }
  .contact-list strong { grid-column: 1 / 2; overflow-wrap: anywhere; }
  .contact-list i { grid-column: 2; grid-row: 1 / 3; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-top nav { grid-column: auto; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .mobile-actions {
    position: fixed;
    z-index: 190;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: color-mix(in srgb, var(--paper-soft) 92%, transparent);
    box-shadow: 0 16px 40px rgba(7, 17, 14, .24);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .mobile-actions a { min-height: 50px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; font-size: 13px; font-weight: 700; }
  .mobile-actions .primary { border-color: var(--gold); background: var(--gold); color: var(--ink-deep); }
}

@media (max-width: 390px) {
  .brand span { max-width: 180px; }
  .hero h1 { font-size: 48px; }
  .hero-copy { font-size: 16px; }
  .manifesto-inner { gap: 10px; }
  .manifesto p { font-size: 18px; }
  .manifesto p:nth-of-type(2) { font-size: 21px; }
  .path-body h3 { font-size: 34px; }
  .contact-list a { padding-block: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-halo path, .dove-lines path { stroke-dashoffset: 0; }
}
