/* ============================================================
   Iglesia Gosen — Ministerios Ebenezer
   Editorial · Cinematic · Church
   ============================================================ */

:root {
  /* Palette */
  --navy-950: #070C15;
  --navy-900: #0A1220;
  --navy-800: #0E1A2B;
  --navy-700: #17273D;
  --navy-600: #22344E;
  --navy-line: rgba(245, 239, 226, 0.12);
  --navy-line-strong: rgba(245, 239, 226, 0.22);

  --cream-50: #FBF7EC;
  --cream-100: #F5EFE2;
  --cream-200: #EDE5D1;
  --cream-300: #DDD1B4;
  --cream-muted: rgba(245, 239, 226, 0.66);
  --cream-soft: rgba(245, 239, 226, 0.82);
  --cream-dim: rgba(245, 239, 226, 0.42);

  --gold-500: #C9A24B;
  --gold-400: #D9B769;
  --gold-300: #E6CC8B;
  --gold-line: rgba(201, 162, 75, 0.35);

  --ink: #0A0F17;

  /* Fonts */
  --font-display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-ui: "Instrument Sans", "Söhne", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm */
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1360px;
  --radius-sm: 4px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--navy-900);
  color: var(--cream-100);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle film-grain across the whole site */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--gold-500); color: var(--navy-900); }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 500;
}
.eyebrow--cream { color: var(--cream-dim); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-style: normal;
}
.display em { font-style: italic; color: var(--gold-300); font-weight: 400; }

.h-hero { font-size: clamp(56px, 9vw, 148px); }
.h1 { font-size: clamp(44px, 6.2vw, 96px); }
.h2 { font-size: clamp(32px, 4.2vw, 64px); }
.h3 { font-size: clamp(24px, 2.6vw, 36px); }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--cream-soft);
  max-width: 62ch;
}

/* ---------- Layout primitives ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(56px, 10vw, 140px) 0;
  position: relative;
}
.section--tight { padding: clamp(40px, 6vw, 88px) 0; }
@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
}
.section--cream { background: var(--cream-100); color: var(--navy-900); }
.section--ink { background: var(--navy-950); }

.divider {
  height: 1px;
  background: var(--navy-line);
  width: 100%;
}
.section--cream .divider { background: rgba(10, 18, 32, 0.12); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(to bottom, rgba(7, 12, 21, 0.88) 0%, rgba(7, 12, 21, 0.6) 60%, rgba(7, 12, 21, 0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 12, 21, 0.94);
  border-bottom-color: var(--navy-line);
}
.nav__brand {
  display: flex; align-items: center;
  cursor: pointer;
}
.nav__logo {
  height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .nav__logo { height: 32px; }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none; padding: 0; margin: 0;
}
.nav__link {
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-soft);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.nav__link:hover { color: var(--cream-100); }
.nav__link.is-active {
  color: var(--gold-400);
  border-color: var(--gold-line);
}
.nav__cta {
  padding: 10px 18px;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--gold-500);
  transition: transform 0.15s, background 0.15s;
}
.nav__cta:hover { background: var(--gold-400); transform: translateY(-1px); }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--navy-line-strong);
  background: transparent;
  color: var(--cream-100);
  border-radius: 999px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__burger svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--navy-950);
  padding: 96px var(--gutter) 40px;
  display: none;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 36px;
  padding: 12px 0;
  border-bottom: 1px solid var(--navy-line);
  color: var(--cream-100);
  cursor: pointer;
}
.mobile-menu__link.is-active { color: var(--gold-400); }
.mobile-menu__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border: 1px solid var(--navy-line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--cream-100);
  cursor: pointer;
  display: grid; place-items: center;
}

/* ---------- Page transitions ---------- */
.page { display: none; }
.page.is-active { display: block; animation: pageIn 0.5s ease both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO — Editorial cover
   ============================================================ */
.hero {
  padding: 160px var(--gutter) 96px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
}
.hero__bgphoto {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
/* The PNG ships with a built-in white/transparent fade on its left edge.
   Right-align it and pin object-position to the LEFT so that fade edge is
   preserved and sits against the navy background (rather than getting
   cropped out by object-fit: cover). */
.hero__bgphoto img {
  position: absolute;
  right: 0;
  top: 0;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
@media (min-width: 1400px) {
  .hero__bgphoto img { width: 68%; }
}
/* Soft top/bottom vignette to help the verse readability on the left */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 12, 21, 0.35) 0%, transparent 22%, transparent 78%, rgba(7, 12, 21, 0.5) 100%);
}
.hero__top, .hero__stack {
  position: relative;
  z-index: 2;
}
.hero__copy {
  max-width: 780px;
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-top: 24px;
  flex-wrap: wrap;
}
.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__meta small { color: var(--cream-dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.hero__meta strong { color: var(--cream-100); font-family: var(--font-ui); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }

.hero__stack {
  display: block;
  margin-top: 48px;
}
.hero__verse {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(58px, 10vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--cream-100);
  max-width: 12ch;
}
.hero__verse em {
  font-style: italic;
  color: var(--gold-400);
  font-weight: 400;
}
.hero__attr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 32px;
}
.hero__attr span { color: var(--gold-400); }

.hero__photo {
  width: 300px;
  height: 380px;
  position: relative;
  align-self: end;
}
/* Mobile: photo occupies the top; fades down into navy naturally */
@media (max-width: 900px) {
  .hero__bgphoto img {
    width: 100%;
    height: 60%;
    top: 0;
    object-position: center 30%;
  }
  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(7, 12, 21, 0.25) 0%,
        rgba(7, 12, 21, 0.15) 30%,
        rgba(10, 18, 32, 0.85) 55%,
        var(--navy-900) 68%,
        var(--navy-900) 100%
      );
  }
  .hero { padding-top: 140px; padding-bottom: 72px; }
}
.hero__photo--real {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--navy-line-strong);
  background: #0a1220;
}
.hero__photo--real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  display: block;
}
.hero__photo--real figcaption {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-100);
  padding: 6px 10px;
  background: rgba(7, 12, 21, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gold-line);
}
.hero__photo--real figcaption sup { font-size: 8px; vertical-align: super; }
@media (max-width: 900px) {
  .hero__stack { grid-template-columns: 1fr; gap: 24px; }
  .hero__photo { width: 100%; max-width: 300px; height: 320px; }
}

.hero__bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--navy-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero__bit small {
  color: var(--cream-dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  display: block; margin-bottom: 6px;
}
.hero__bit strong {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--cream-100);
  font-weight: 500;
  letter-spacing: -0.01em;
  display: block;
}
.hero__bit em { color: var(--gold-400); font-style: normal; }
@media (max-width: 700px) {
  .hero__bottom { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* Placeholder photo cards (dark, film-grain) */
.photo-card {
  background:
    repeating-linear-gradient(135deg, rgba(245, 239, 226, 0.04) 0 2px, transparent 2px 8px),
    linear-gradient(135deg, #1a2740 0%, #0d1727 100%);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}
.photo-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(201, 162, 75, 0.08), transparent 50%);
  pointer-events: none;
}
.photo-card__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-dim);
  z-index: 1;
}
.photo-card__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cream-soft);
  z-index: 1;
  line-height: 1.4;
}
.photo-card__caption b { color: var(--gold-400); font-weight: 500; }

.photo-card--cream {
  background:
    repeating-linear-gradient(135deg, rgba(10, 18, 32, 0.05) 0 2px, transparent 2px 8px),
    linear-gradient(135deg, #ede5d1 0%, #d9cfb5 100%);
  border-color: rgba(10, 18, 32, 0.12);
}
.photo-card--cream .photo-card__label,
.photo-card--cream .photo-card__caption { color: rgba(10, 18, 32, 0.6); }
.photo-card--cream .photo-card__caption b { color: #6b5b2a; }

/* ============================================================
   BIENVENIDOS A CASA — real photo + editorial panel
   ============================================================ */
.welcome-real {
  background: var(--navy-950);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 720px;
  position: relative;
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}
.welcome-real__photo {
  position: relative;
  overflow: hidden;
  background: #0a1220;
}
.welcome-real__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Slight tone-cast so purple banner harmonizes with navy palette */
  filter: contrast(1.02) saturate(0.95);
}
.welcome-real__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 12, 21, 0) 60%, rgba(7, 12, 21, 0.55) 100%);
  pointer-events: none;
}
.welcome-real__panel {
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background: var(--navy-950);
}
.welcome-real__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.welcome-real__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--cream-100);
  font-weight: 500;
  margin: 0;
}
.welcome-real__title em {
  font-style: italic;
  color: var(--gold-400);
  font-weight: 400;
}
.welcome-real__body {
  color: var(--cream-soft);
  font-size: 17px;
  line-height: 1.65;
  max-width: 40ch;
  margin: 0;
}
.welcome-real__addr {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--navy-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.welcome-real__addr small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.welcome-real__addr strong {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  color: var(--cream-100);
  font-weight: 500;
  letter-spacing: -0.005em;
}

@media (max-width: 900px) {
  .welcome-real {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .welcome-real__photo {
    aspect-ratio: 4/3;
  }
  .welcome-real__photo::after {
    background: linear-gradient(180deg, rgba(7, 12, 21, 0) 60%, rgba(7, 12, 21, 0.5) 100%);
  }
}

/* ============================================================
   HORARIOS
   ============================================================ */
.schedule {
  background: var(--cream-100);
  color: var(--navy-900);
}
.schedule__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(10, 18, 32, 0.15);
  border-bottom: 1px solid rgba(10, 18, 32, 0.15);
}
.schedule__grid--four {
  grid-template-columns: repeat(4, 1fr);
}
.schedule__cell {
  padding: 48px 40px;
  border-right: 1px solid rgba(10, 18, 32, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
  position: relative;
}
.schedule__cell:last-child { border-right: none; }
.schedule__cell .eyebrow { color: var(--navy-700); }
.schedule__day {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.95;
  color: var(--navy-900);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.schedule__time {
  font-family: var(--font-mono);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--gold-500);
  font-weight: 600;
}
.schedule__desc {
  color: rgba(10, 18, 32, 0.7);
  font-size: 15px;
  margin-top: auto;
}
@media (max-width: 1100px) {
  .schedule__grid--four { grid-template-columns: repeat(2, 1fr); }
  .schedule__grid--four .schedule__cell:nth-child(2) { border-right: none; }
  .schedule__grid--four .schedule__cell:nth-child(1),
  .schedule__grid--four .schedule__cell:nth-child(2) {
    border-bottom: 1px solid rgba(10, 18, 32, 0.15);
  }
}
@media (max-width: 800px) {
  .schedule__grid, .schedule__grid--four { grid-template-columns: 1fr; }
  .schedule__cell { border-right: none; border-bottom: 1px solid rgba(10, 18, 32, 0.15); min-height: auto; padding: 40px 24px; }
  .schedule__cell:last-child { border-bottom: none; }
}

/* Split cell — Último Sábado del mes with two sub-slots */
.schedule__cell--split {
  justify-content: flex-start;
  gap: 24px;
}
.schedule__day--sm {
  font-size: clamp(36px, 4vw, 56px);
}
.schedule__split {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(10, 18, 32, 0.15);
}
.schedule__split-row {
  padding: 16px 0;
  border-bottom: 1px solid rgba(10, 18, 32, 0.15);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.schedule__split-row:last-child { border-bottom: none; }
.schedule__split-label {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy-900);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.schedule__split-time {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--gold-500);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Section header */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2 { margin: 12px 0 0; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
}
@media (max-width: 560px) {
  .section-head { gap: 12px; margin-bottom: 24px; }
}

/* ============================================================
   LIVE / EN VIVO teaser on home
   ============================================================ */
.live-teaser {
  background: var(--navy-800);
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  padding: clamp(56px, 7vw, 80px) 0;
}
.live-teaser__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.live-badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #E5484D;
  box-shadow: 0 0 12px #E5484D;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.live-teaser__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  margin: 20px 0 20px;
  color: var(--cream-100);
  font-weight: 500;
}
.live-teaser__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.15s, transform 0.15s;
}
.live-teaser__cta:hover { background: var(--gold-400); transform: translateY(-1px); }
.live-teaser__preview {
  aspect-ratio: 16/9;
  position: relative;
}
/* When the preview holds a portrait photo instead of a video thumbnail,
   use a taller frame so the subject isn't chopped */
.live-teaser__preview--photo {
  aspect-ratio: 5/6;
}
@media (max-width: 900px) {
  .live-teaser__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   OFRENDA CTA
   ============================================================ */
.offer-cta {
  background: var(--navy-950);
  padding: clamp(56px, 10vw, 140px) 0;
  border-top: 1px solid var(--navy-line);
}
.offer-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.offer-cta__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.offer-cta__title em { color: var(--gold-400); font-style: italic; }
.offer-cta__body { color: var(--cream-soft); font-size: 17px; line-height: 1.65; }
@media (max-width: 900px) {
  .offer-cta__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.btn--gold {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}
.btn--gold:hover { background: var(--gold-400); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--cream-100);
  border-color: var(--navy-line-strong);
}
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn--dark {
  background: var(--navy-900);
  color: var(--cream-100);
  border-color: var(--navy-900);
}
.btn--dark:hover { background: var(--navy-800); }
.btn__arrow { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-950);
  color: var(--cream-100);
  border-top: 1px solid var(--navy-line);
  padding: 80px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer__brand {
  display: flex; flex-direction: column; gap: 20px;
}
.footer__logo-img {
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: left center;
  align-self: flex-start;
  display: block;
}
.footer__tag {
  color: var(--cream-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 32ch;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer__col li {
  color: var(--cream-soft);
  font-size: 15px;
  cursor: pointer;
  transition: color 0.15s;
}
.footer__col li:hover { color: var(--gold-400); }
.footer__col p {
  color: var(--cream-soft);
  font-size: 15px;
  margin: 0 0 8px;
  line-height: 1.5;
}
.footer__socials {
  display: flex; gap: 10px;
  margin-top: 4px;
}
.footer__soc {
  width: 40px; height: 40px;
  border: 1px solid var(--navy-line-strong);
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--cream-soft);
  transition: border-color 0.15s, color 0.15s;
  cursor: pointer;
}
.footer__soc:hover { border-color: var(--gold-400); color: var(--gold-400); }
.footer__soc svg { width: 16px; height: 16px; }

.footer__bottom {
  border-top: 1px solid var(--navy-line);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--cream-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.page-hero {
  padding: 180px var(--gutter) 100px;
  background: var(--navy-900);
  position: relative;
  border-bottom: 1px solid var(--navy-line);
}
.page-hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--cream-100);
  font-weight: 500;
}
.page-hero__title em { color: var(--gold-400); font-style: italic; }
.page-hero__lead {
  font-size: 18px;
  color: var(--cream-soft);
  line-height: 1.6;
  max-width: 46ch;
}
@media (max-width: 900px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: 20px; }
  .page-hero { padding: 120px var(--gutter) 48px; }
}
@media (max-width: 560px) {
  .page-hero { padding: 100px var(--gutter) 40px; }
}

.historia {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.historia__photo {
  aspect-ratio: 4/5;
  position: sticky;
  top: 120px;
}
.historia__photo--real {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 18, 32, 0.15);
  background: #0a1220;
  position: sticky;
  top: 120px;
}
.historia__photo--real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
  display: block;
}
.historia__photo--real figcaption {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-100);
  padding: 6px 12px;
  background: rgba(7, 12, 21, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gold-line);
}
.historia__photo--real figcaption sup { font-size: 8px; vertical-align: super; }
.historia__body p {
  font-size: 19px;
  color: var(--navy-900);
  line-height: 1.65;
  margin: 0 0 20px;
}
.section--cream .historia__body p { color: var(--navy-800); }
.pull {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  color: var(--navy-800);
  border-left: 3px solid var(--gold-500);
  padding: 8px 0 8px 24px;
  margin: 40px 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.pull em { color: var(--gold-500); font-style: italic; }
@media (max-width: 900px) {
  .historia { grid-template-columns: 1fr; gap: 40px; }
  .historia__photo { position: static; max-width: 400px; }
}

/* ============================================================
   PASTOR — full-bleed editorial feature
   ============================================================ */
.pastor-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  background: var(--navy-950);
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  position: relative;
}
.pastor-section__photo {
  position: relative;
  overflow: hidden;
  background: #0a1220;
}
.pastor-section__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
/* Subtle right-edge fade so the photo blends into the content column */
.pastor-section__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 12, 21, 0) 60%, rgba(7, 12, 21, 0.55) 100%);
  pointer-events: none;
}

.pastor-section__content {
  padding: clamp(40px, 7vw, 112px) clamp(24px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  position: relative;
}
.pastor-section__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.pastor-section__name {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--cream-100);
  font-weight: 500;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pastor-section__first {
  display: block;
}
.pastor-section__last {
  display: block;
  font-style: italic;
  color: var(--gold-400);
  font-weight: 400;
  padding-left: 0.4em;
}
.pastor-section__role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-soft);
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--navy-line);
  max-width: 32ch;
}

.pastor-section__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--cream-soft);
  font-weight: 400;
  letter-spacing: -0.005em;
  max-width: 32ch;
  margin: 24px 0 0;
  padding-left: 32px;
  position: relative;
}
.pastor-section__mark {
  position: absolute;
  left: 0;
  top: -8px;
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--gold-400);
  line-height: 1;
  font-style: italic;
  font-weight: 500;
}
.pastor-section__cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 500;
}

@media (max-width: 900px) {
  .pastor-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pastor-section__photo {
    aspect-ratio: 4/3;
  }
  .pastor-section__photo::after {
    background: linear-gradient(180deg, rgba(7, 12, 21, 0) 60%, rgba(7, 12, 21, 0.55) 100%);
  }
  .pastor-section__content { gap: 20px; }
}

/* Creencias */
.beliefs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--navy-line);
}
.belief {
  padding: 40px 0;
  border-bottom: 1px solid var(--navy-line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 700px) {
  .belief { padding: 28px 0; gap: 20px; grid-template-columns: 44px 1fr; }
}
.belief:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--navy-line); }
.belief:nth-child(even) { padding-left: 40px; }
.belief__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  color: var(--gold-400);
  font-weight: 400;
  line-height: 1;
}
.belief__title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  color: var(--cream-100);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.belief__body {
  color: var(--cream-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 800px) {
  .beliefs { grid-template-columns: 1fr; }
  .belief:nth-child(odd) { padding-right: 0; border-right: none; }
  .belief:nth-child(even) { padding-left: 0; }
}

/* Ministerios */
.mins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.min-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
@media (max-width: 700px) {
  .min-card { padding: 24px; min-height: 0; }
}
.min-card:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.min-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-400);
}
.min-card__title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--cream-100);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: auto;
}
.min-card__body {
  color: var(--cream-muted);
  font-size: 14px;
  line-height: 1.55;
}
.min-card__meet {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding-top: 12px;
  border-top: 1px solid var(--navy-line);
}
@media (max-width: 900px) { .mins { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mins { grid-template-columns: 1fr; } }

/* ============================================================
   SERMONES
   ============================================================ */
.sermon-featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
}
.sermon-featured__thumb {
  aspect-ratio: 16/9;
  position: relative;
  cursor: pointer;
}
.sermon-featured__thumb::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.2), rgba(0,0,0,0.55));
  z-index: 2;
}
.sermon-featured__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
}
.play-btn {
  width: 84px; height: 84px;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--navy-900);
  display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(201, 162, 75, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.play-btn:hover { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(201, 162, 75, 0.18); }
.play-btn svg { width: 26px; height: 26px; margin-left: 4px; }
.play-btn--sm { width: 52px; height: 52px; box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.15); }
.play-btn--sm svg { width: 16px; height: 16px; margin-left: 2px; }

.sermon-featured__meta small { color: var(--gold-400); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.sermon-featured__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  color: var(--cream-100);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 12px 0 16px;
}
.sermon-featured__desc {
  color: var(--cream-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.sermon-featured__by {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
@media (max-width: 900px) {
  .sermon-featured { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
}

.filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 48px 0 32px;
}
.chip {
  padding: 10px 16px;
  border: 1px solid var(--navy-line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-soft);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.chip:hover { color: var(--gold-400); border-color: var(--gold-line); }
.chip.is-active { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }

.sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.sermon {
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.sermon:hover .sermon__title { color: var(--gold-400); transition: color 0.2s ease; }
.sermon__thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.sermon__thumb::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
}
.sermon__duration {
  position: absolute;
  right: 10px; bottom: 10px;
  z-index: 3;
  padding: 4px 8px;
  background: rgba(7, 12, 21, 0.85);
  color: var(--cream-100);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  border-radius: 3px;
}
.sermon__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s;
}
.sermon:hover .sermon__play { opacity: 1; }
.sermon__series {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.sermon__title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  color: var(--cream-100);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
}
.sermon__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
@media (max-width: 900px) { .sermon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sermon-grid { grid-template-columns: 1fr; } }

/* Sermon thumbnails — themed film-grain "video" placeholders */
.thumb {
  background:
    repeating-linear-gradient(135deg, rgba(245, 239, 226, 0.05) 0 2px, transparent 2px 8px),
    linear-gradient(135deg, #1a2740 0%, #0a1220 100%);
  position: relative;
  overflow: hidden;
}
.thumb--warm {
  background:
    repeating-linear-gradient(135deg, rgba(201, 162, 75, 0.08) 0 2px, transparent 2px 8px),
    linear-gradient(135deg, #4a3320 0%, #1a1108 100%);
}
.thumb--cool {
  background:
    repeating-linear-gradient(135deg, rgba(120, 180, 220, 0.05) 0 2px, transparent 2px 8px),
    linear-gradient(135deg, #1b2f4a 0%, #050a14 100%);
}
.thumb--gold {
  background:
    repeating-linear-gradient(135deg, rgba(201, 162, 75, 0.1) 0 2px, transparent 2px 8px),
    linear-gradient(135deg, #3a2c14 0%, #14100a 100%);
}
.thumb__label {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 4;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--cream-100);
  letter-spacing: -0.01em;
  max-width: 80%;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

/* Real YouTube thumbnail images */
.thumb--img {
  background: #000;
}
.thumb--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.4s ease;
}
.sermon:hover .thumb--img img,
.sermon-featured__thumb.thumb--img:hover img {
  transform: scale(1.03);
}
.thumb--img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}
.thumb__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 4;
  padding: 4px 10px;
  background: rgba(7, 12, 21, 0.75);
  backdrop-filter: blur(6px);
  color: var(--gold-400);
  border: 1px solid var(--gold-line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* ============================================================
   EN VIVO — fullscreen player
   ============================================================ */
.envivo {
  min-height: 100vh;
  background: var(--navy-950);
  padding-top: 80px;
  display: flex;
  flex-direction: column;
}
.envivo__topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px var(--gutter);
  border-bottom: 1px solid var(--navy-line);
  flex-wrap: wrap;
}
.envivo__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 52px);
  color: var(--cream-100);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
.envivo__title em { color: var(--gold-400); font-style: italic; }
.envivo__stage {
  flex: 1;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
}
.envivo__player {
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid var(--navy-line-strong);
  position: relative;
  overflow: hidden;
}
.envivo__player iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.envivo__offline {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(245, 239, 226, 0.03) 0 2px, transparent 2px 8px),
    linear-gradient(135deg, #0d1727 0%, #050a14 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px;
  padding: 40px;
  text-align: center;
}
.envivo__offline-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.envivo__offline-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  color: var(--cream-100);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
  max-width: 20ch;
}
.envivo__offline-title em { color: var(--gold-400); font-style: italic; }
.envivo__offline-body {
  color: var(--cream-soft);
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.6;
}
.envivo__countdown {
  display: flex; gap: 24px;
  margin-top: 8px;
  font-family: var(--font-mono);
}
.envivo__countdown div { text-align: center; }
.envivo__countdown strong {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--gold-400);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.envivo__countdown small {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 6px;
  display: block;
}

/* Below-player info strip */
.envivo__belowplayer {
  padding: 40px var(--gutter) 80px;
  border-top: 1px solid var(--navy-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1400px;
  margin: 24px auto 0;
}
.envivo__belowcol {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.envivo__nextline {
  display: flex;
  gap: 20px;
  margin: 6px 0 4px;
  align-items: baseline;
}
.envivo__cd-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.envivo__cd-item strong {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--gold-400);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.envivo__cd-item small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
@media (max-width: 900px) {
  .envivo__belowplayer { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   OFRENDAR
   ============================================================ */
.give-verse {
  padding: clamp(56px, 8vw, 100px) 0 clamp(32px, 4vw, 60px);
}
.give-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.give-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  padding: 40px;
  display: flex; flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s;
  min-height: 320px;
}
@media (max-width: 700px) {
  .give-card { padding: 28px; min-height: 0; }
}
.give-card:hover { border-color: var(--gold-line); }
.give-card__header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--navy-line);
}
.give-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-400);
}
.give-card__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--navy-line-strong);
  border-radius: 999px;
  color: var(--cream-soft);
}
.give-card__title {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--cream-100);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.give-card__body {
  color: var(--cream-muted);
  font-size: 15px;
  line-height: 1.6;
}
.give-card__detail {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--navy-line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.give-card__detail small { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-dim); display: block; margin-bottom: 4px; }
.give-card__detail strong { font-family: var(--font-mono); font-size: 18px; color: var(--gold-400); font-weight: 500; letter-spacing: 0.02em; }
@media (max-width: 800px) { .give-methods { grid-template-columns: 1fr; } }

.platform-note {
  margin-top: 24px;
  padding: 24px 28px;
  background: rgba(201, 162, 75, 0.06);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
}
.platform-note__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
}
.platform-note__title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream-100);
  font-weight: 500;
  margin: 0 0 8px;
}
.platform-note__body {
  color: var(--cream-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.platform-note__body b { color: var(--gold-400); font-weight: 600; }

/* Pro Templo campaign */
.protemplo {
  background: var(--cream-100);
  color: var(--navy-900);
  padding: clamp(80px, 10vw, 140px) 0;
}
.protemplo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.protemplo__photo {
  aspect-ratio: 4/5;
}
.protemplo__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.98;
  color: var(--navy-900);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 16px 0 24px;
}
.protemplo__title em { color: var(--gold-500); font-style: italic; }
.protemplo__eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-500); font-weight: 500; }
.protemplo__body {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(10, 18, 32, 0.75);
  margin: 0 0 32px;
}
.progress {
  margin: 32px 0;
}
.progress__label {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 18, 32, 0.7);
  margin-bottom: 12px;
}
.progress__label strong { color: var(--navy-900); font-weight: 600; }
.progress__bar {
  height: 4px;
  background: rgba(10, 18, 32, 0.12);
  overflow: hidden;
  position: relative;
}
.progress__fill {
  height: 100%;
  background: var(--gold-500);
  width: 64%;
  position: relative;
}
.progress__fill::after {
  content: "";
  position: absolute; top: 0; right: -2px; height: 100%;
  width: 6px;
  background: var(--gold-500);
  box-shadow: 0 0 12px var(--gold-500);
}
.progress__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 18, 32, 0.12);
}
.progress__stat small { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(10, 18, 32, 0.55); display: block; margin-bottom: 6px; }
.progress__stat strong { font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--navy-900); font-weight: 500; letter-spacing: -0.015em; }
@media (max-width: 900px) {
  .protemplo__inner { grid-template-columns: 1fr; gap: 40px; }
  .protemplo__photo { max-width: 400px; }
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}
.contact__form {
  display: flex; flex-direction: column; gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--navy-line-strong);
  padding: 12px 0;
  color: var(--cream-100);
  font-family: var(--font-ui);
  font-size: 17px;
  outline: none;
  transition: border-color 0.15s;
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-400); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.contact__aside {
  display: flex; flex-direction: column; gap: 32px;
}
.info-block h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 12px;
  font-weight: 500;
}
.info-block p {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.15;
  color: var(--cream-100);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.info-block p a:hover { color: var(--gold-400); }
.info-block small { color: var(--cream-muted); font-size: 14px; display: block; margin-top: 6px; }

.map {
  aspect-ratio: 16/9;
  margin-top: 40px;
  position: relative;
  border: 1px solid var(--navy-line);
  overflow: hidden;
  background: #060b14;
}
.map__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  /* Slight tone-shift so the OSM tiles blend with the navy design */
  filter: grayscale(0.4) contrast(0.94) brightness(0.98);
}
.map__overlay {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  background: rgba(7, 12, 21, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-line);
  padding: 24px 28px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.map__overlay-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map__overlay-addr {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  color: var(--cream-100);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.map__overlay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.map__overlay-actions .btn {
  padding: 12px 18px;
  font-size: 11px;
}
@media (max-width: 700px) {
  .map { aspect-ratio: 4/5; }
  .map__overlay {
    left: 16px; right: 16px; bottom: 16px;
    max-width: none;
    padding: 20px;
  }
}

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

/* ============================================================
   HELPERS
   ============================================================ */
.badge-live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.spacer-sm { height: 24px; }
.spacer { height: 48px; }
.spacer-lg { height: 96px; }

.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: flex; align-items: center; gap: 12px;
}
.section-num::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--gold-400);
  display: inline-block;
}
/* Mobile: collapse the inline "margin-bottom: 24/32px" that sits between a
   standalone .section-num and the block below it (used on pages without a
   full .section-head wrapper). */
@media (max-width: 700px) {
  .section-num[style*="margin-bottom"] {
    margin-bottom: 20px !important;
  }
}

/* Cream-section variant of things that appear in cream */
.section--cream .eyebrow { color: var(--gold-500); }
.section--cream .section-num { color: var(--gold-500); }
.section--cream .section-num::before { background: var(--gold-500); }
.section--cream .display, .section--cream h2, .section--cream h3 { color: var(--navy-900); }
.section--cream .lead { color: rgba(10, 18, 32, 0.7); }
