/* Estilos propios de la portada informativa.
   Depende de los tokens y componentes de styles.css (se enlazan ambos). */

/* ─── Hero ─── */
.hero-cta { margin-top: clamp(24px, 3vw, 32px); display: inline-flex; }
.lede-lg {
  font-size: clamp(15px, 1.8vw, 19px); color: var(--rc-gray);
  max-width: 60ch; margin: 18px 0 0; line-height: 1.55;
}
.lede-lg strong { font-weight: 700; }

/* ─── Secciones centradas ─── */
.section-center { text-align: center; }
.section-center .section-head { justify-content: center; }
.section-center .lede-lg { margin-left: auto; margin-right: auto; }
.section-center .qa-item p { margin-left: auto; margin-right: auto; }
/* El formulario se centra como columna, pero sus campos siguen alineados a la izquierda. */
.section-center .lead { margin-left: auto; margin-right: auto; text-align: left; }

/* ─── Preguntas del seminario ─── */
.qa { margin-top: 8px; }
.qa-item { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.qa-item:last-child { border-bottom: 0; }
.qa-eyebrow {
  display: block; font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--rc-red); font-weight: 700; margin-bottom: 10px;
}
.qa-item h3 { font-size: clamp(17px, 2.2vw, 22px); font-weight: 700; color: var(--rc-gray); margin: 0 0 8px; line-height: 1.25; }
.qa-item p { margin: 0; font-size: 15px; color: var(--rc-gray); max-width: 68ch; }
.qa-item p + p { margin-top: 14px; }
.qa-item .accent { color: var(--rc-red); font-weight: 700; }

/* ─── Carrusel de noticias (scroll-snap, sin dependencias) ─── */
.news {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 0 16px; margin-top: 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.news::-webkit-scrollbar { height: 0; }
.news-card {
  scroll-snap-align: start; flex: 0 0 clamp(240px, 78%, 320px);
  border: 1px solid var(--rule); background: var(--paper); padding: 24px 22px;
  display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s;
}
.news-card:hover { border-color: var(--rc-red); box-shadow: 0 12px 34px -20px rgba(0, 0, 0, .4); }
.news-num { font-size: 11px; letter-spacing: .3em; color: var(--rc-red); font-weight: 700; }
.news-card h3 { font-size: 18px; font-weight: 700; color: var(--rc-gray); margin: 12px 0 8px; line-height: 1.25; }
.news-card p { font-size: 14px; color: var(--rc-gray-soft); margin: 0 0 20px; flex-grow: 1; line-height: 1.5; }
.news-more {
  align-self: flex-start; font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 700; color: var(--rc-red); text-decoration: none; border-bottom: 1px solid transparent;
}
.news-more:hover { border-bottom-color: var(--rc-red); }
.news-nav { display: flex; gap: 8px; margin-top: 6px; }
.news-arrow {
  width: 44px; height: 44px; border: 1px solid var(--rule); background: var(--paper);
  color: var(--rc-gray); cursor: pointer; font-size: 18px; line-height: 1;
  transition: border-color .15s, background .15s, color .15s;
}
.news-arrow:hover { border-color: var(--rc-red); color: var(--rc-red); }

/* ─── Banda de llamada a la inscripción ─── */
.cta-band { background: var(--rc-red); color: #fff; margin-top: clamp(36px, 6vw, 60px); }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: clamp(30px, 5vw, 48px); padding-bottom: clamp(30px, 5vw, 48px); flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(22px, 3.2vw, 34px); font-weight: 300; margin: 0; letter-spacing: -.015em; }
.cta-band p { margin: 8px 0 0; font-size: 14px; color: rgba(255, 255, 255, .85); }
.btn-on-red { background: #fff; color: var(--rc-red); border-color: #fff; }
.btn-on-red:hover:not(:disabled) { background: var(--warm); border-color: var(--warm); }

/* ─── Formulario de leads ─── */
.lead { max-width: 520px; }

/* ─── Botón flotante de compartir ─── */
.share-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rc-red); color: #fff; border: 0;
  padding: 14px 20px; border-radius: 999px;
  font-family: inherit; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  transition: background .15s, transform .15s;
}
.share-fab:hover { background: var(--rc-red-dark); transform: translateY(-2px); }
.share-fab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.share-fab svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 720px) {
  .share-fab { padding: 14px; }
  .share-fab span { display: none; }
}

/* ═══ Estilo landing: hero y franjas fotográficas ═══ */

/* Hero a pantalla completa con foto de fondo y velo oscuro */
.hero-full {
  position: relative; min-height: 92vh; display: flex; flex-direction: column;
  color: #fff; background: #0d0d0d center / cover no-repeat;
}
.hero-full::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, .55) 0%, rgba(13, 13, 13, .30) 42%, rgba(13, 13, 13, .78) 100%);
}
/* En flexbox, `margin: 0 auto` (que trae .wrap) encoge el bloque al contenido y lo
   centra. Forzamos width:100% para que .wrap conserve su ancho de columna (max 1080)
   y alinee con el resto de la página. */
.hero-full > .wrap,
.photo-band > .wrap { width: 100%; }

.hero-topbar {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.hero-topbar .head-tag { color: #fff; font-size: 14px; letter-spacing: .18em; font-weight: 700; }
.hero-topbar .head-eyebrow { color: rgba(255, 255, 255, .82); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.hero-inner { position: relative; z-index: 2; margin-top: auto; margin-bottom: auto; padding-top: 56px; padding-bottom: 56px; text-align: center; }
.hero-full .eyebrow { color: #fff; padding-top: 0; }
.hero-full .eyebrow::before { background: var(--rc-red); }
.hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400; font-size: clamp(54px, 11vw, 128px); line-height: .92;
  letter-spacing: -.02em; margin: 16px 0 0; color: #fff;
}
.hero-title b { font-weight: 700; }
.hero-sub { font-size: clamp(17px, 2.4vw, 26px); font-weight: 300; color: rgba(255, 255, 255, .9); margin: 14px auto 0; max-width: 30ch; }
.hero-verse { padding: 0; margin: 28px auto 0; max-width: 40ch; text-align: center; }
.hero-verse p { margin: 0; font-style: italic; font-size: clamp(15px, 2vw, 20px); }
.hero-verse cite { display: block; font-style: normal; margin-top: 8px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .9); font-weight: 700; }
.hero-scroll { position: relative; z-index: 2; padding-bottom: 26px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .8); text-align: center; }

/* Franja fotográfica con versículo (divisor inmersivo) */
.photo-band {
  position: relative; min-height: clamp(320px, 52vh, 520px); display: flex; align-items: center;
  color: #fff; background: #0d0d0d center / cover no-repeat; margin-top: clamp(36px, 6vw, 60px);
}
.photo-band::after { content: ""; position: absolute; inset: 0; background: rgba(13, 13, 13, .52); }
.photo-band .wrap { position: relative; z-index: 2; text-align: center; }
.band-rule { width: 48px; height: 2px; background: var(--rc-red); margin: 0 auto 22px; }
.band-quote { font-weight: 300; font-size: clamp(22px, 3.8vw, 42px); line-height: 1.22; letter-spacing: -.01em; max-width: 22ch; margin: 0 auto; }
.band-cite { display: block; margin-top: 18px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }

/* Banda de inscripción sobre foto con velo rojo */
.cta-photo { background: #0d0d0d center / cover no-repeat; position: relative; }
.cta-photo::before { content: ""; position: absolute; inset: 0; background: rgba(145, 21, 43, .86); }
.cta-photo .cta-band-inner { position: relative; z-index: 2; }

/* ─── Ajustes móvil ─── */
@media (max-width: 720px) {
  .cta-band-inner {
    flex-direction: column; align-items: stretch; gap: 22px;
    padding-top: 36px; padding-bottom: 36px;
  }
  .cta-band-inner .btn { width: 100%; text-align: center; }
  .photo-band { min-height: clamp(280px, 60vh, 420px); }
  .band-quote { font-size: clamp(24px, 7vw, 34px); }
}
