/* ==========================================================================
   Iglesia Evangélica de Cerdanyola del Vallès — landing de una sola página
   Estilo tomado de «Drift» (el prompt que pasó Samu): Inter + Instrument Serif cursiva,
   paleta arena/marrón, píldora de navegación flotante, secciones que se montan unas sobre otras
   con esquinas de 25px, tarjetas de cristal sobre fondo fijo, botones en píldora con círculo blanco.
   Web estática: sin frameworks ni build. El TEXTO vive en el HTML y no se toca (ver CLAUDE.md).
   ========================================================================== */

:root {
  --arena: #f6e4cf;
  --tinta: #321c04;
  --crema: #fff9f2;
  --muted: #d9c4aa;
  --muted-h: #cebaa0;
  --oscuro: #1f1003;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --ancho: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --solape: 25px; /* cuánto se monta cada sección sobre la anterior */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  color: var(--tinta); background: var(--arena);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }

.contenedor { width: min(var(--ancho), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Cada sección se monta sobre la anterior, con las esquinas superiores redondeadas (como en Drift) */
.capa { position: relative; margin-top: calc(-1 * var(--solape)); border-radius: var(--solape) var(--solape) 0 0; }

/* El logo original tiene mucho margen: se recorta con CSS (sin tocar el archivo). Tiene transparencia real. */
.recorte { display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: 1150 / 835; }
.recorte img { position: absolute; max-width: none; width: 139.13%; left: -16.96%; top: -19.76%; height: auto; }

/* ---------- Botones ---------- */
.ico-wa { flex: none; width: 1.2em; height: 1.2em; fill: #25d366; }
.pastilla__circulo .ico-wa { width: 22px; height: 22px; }
.pastilla {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 1.6rem 0.5rem 0.5rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 500 0.8rem/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; text-align: left;
  transition: background-color 0.25s, transform 0.25s;
}
.pastilla:hover { transform: translateY(-2px); }
.pastilla__circulo { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--tinta); }
.pastilla__circulo svg { width: 16px; height: 16px; }
.pastilla--oscura { background: var(--tinta); color: var(--crema); }
.pastilla--oscura:hover { background: var(--oscuro); }
.pastilla--muted { background: var(--muted); color: var(--tinta); }
.pastilla--muted:hover { background: var(--muted-h); }
.pastilla--clara { background: var(--crema); color: var(--tinta); }
.pastilla--clara:hover { background: #fff; }
.pastilla--ancha { width: 100%; justify-content: center; }

/* ==========================================================================
   Cabecera: píldora flotante (logo completo a la izquierda, apartados a la derecha)
   ========================================================================== */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding-inline: var(--gutter); pointer-events: none; }
.nav__pill {
  position: relative; pointer-events: auto; display: flex; align-items: center; gap: 0.75rem;
  width: min(1200px, 100%); padding: 8px 10px 8px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.93); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 12px 32px -12px rgba(50, 28, 4, 0.4);
}
.nav__marca { display: block; flex: none; width: 88px; border-radius: 10px; }
.nav__menu { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav__menu a {
  padding: 0.6rem 0.8rem; border-radius: 999px; font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  color: var(--tinta); transition: background-color 0.25s, color 0.25s;
}
.nav__menu a:hover { background: rgba(246, 228, 207, 0.75); }
.nav__menu a.activo { background: var(--arena); }
.nav__menu .nav__cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; margin-left: 0.4rem; padding: 0.8rem 1.25rem; background: var(--tinta); color: var(--crema); }
.nav__menu .nav__cta:hover { background: var(--oscuro); }
/* Selector de idioma (ES | EN): pestañita a la derecha de la píldora, siempre visible */
.nav__idioma { display: flex; flex: none; gap: 2px; margin-left: 0.6rem; padding: 3px; border-radius: 999px; background: rgba(246, 228, 207, 0.8); }
.nav__idioma a { padding: 0.5rem 0.75rem; border-radius: 999px; font-size: 0.74rem; font-weight: 600; line-height: 1; letter-spacing: 0.08em; text-decoration: none; color: var(--tinta); transition: background-color 0.25s, color 0.25s; }
.nav__idioma a:hover { background: rgba(255, 255, 255, 0.75); }
.nav__idioma a[aria-current] { background: var(--tinta); color: var(--crema); cursor: default; }
.nav__burger { display: none; position: relative; flex: none; width: 46px; height: 46px; margin-left: auto; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.nav__burger span { position: absolute; left: 14px; width: 18px; height: 2px; border-radius: 2px; background: var(--tinta); transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; }
.nav--abierto .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav--abierto .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ==========================================================================
   Portada
   ========================================================================== */
.hero {
  position: sticky; top: 0; z-index: 0; overflow: hidden; color: #fff;
  height: 100vh; height: 100svh; min-height: 640px; margin-bottom: calc(-1 * var(--solape));
  display: flex; flex-direction: column; justify-content: flex-end;
}
/* La foto de grupo SIEMPRE se ve entera: la nueva tiene aire a los lados, así que en escritorio y tablet llena la portada de arriba abajo
   (sin franjas) y, como mucho, se recorta aire a los lados. En móvil, que es muy estrecho, se ve entera y el hueco se rellena con una
   copia desenfocada de la misma foto. */
.hero__fondo { position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover; filter: blur(26px) saturate(1.15) brightness(0.7); }
.hero__foto {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  transform: scale(calc(1 + var(--p, 0) * 0.06)); transform-origin: 50% 55%;
}
@media (min-width: 760px) {
  /* la portada mide lo que mide la foto a lo ancho de la pantalla (16:9), con un mínimo para que quepa el texto, y nunca más que la pantalla */
  /* (el suelo de 660px / 66.7vw garantiza que la portada no sea mucho más ancha que alta: así solo se recorta aire a los lados) */
  .hero { height: min(100vh, max(56.25vw, min(660px, 66.67vw))); height: min(100svh, max(56.25vw, min(660px, 66.67vw))); min-height: 0; }
  .hero__foto { object-fit: cover; object-position: 48% 56%; -webkit-mask-image: none; mask-image: none; }
  .hero__fondo { display: none; }
}
.hero__velo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 10, 2, 0.58) 0%, rgba(20, 10, 2, 0.28) 26%, rgba(20, 10, 2, 0.04) 46%, rgba(20, 10, 2, 0.22) 62%, rgba(20, 10, 2, 0.6) 80%, rgba(20, 10, 2, 0.88) 100%); }

/* Logo en blanco, pequeño y centrado, justo encima del título (el PNG es transparente: se pasa a blanco con un filtro) */
.hero__logo { width: clamp(90px, min(10vw, 15vh), 150px); margin-bottom: clamp(0.9rem, 2.4vh, 1.6rem); }
.hero__logo img { filter: brightness(0) invert(1) drop-shadow(0 2px 18px rgba(0, 0, 0, 0.4)); }

.hero__contenido {
  position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center;
  padding: clamp(86px, 13vh, 108px) var(--gutter) calc(clamp(1.5rem, 5vh, 3.5rem) + var(--solape));
  opacity: calc(1 - var(--p, 0) * 1.4); transform: translateY(calc(var(--p, 0) * -40px));
}
.hero__arriba, .hero__abajo { display: flex; flex-direction: column; align-items: center; }
.hero__arriba { text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4); }
.hero h1 { font-weight: 400; font-size: clamp(2.4rem, min(7.4vw, 11.5vh), 6rem); line-height: 1.1; letter-spacing: -0.025em; }
.hero h1 em { font-size: 1.1em; letter-spacing: -0.01em; }
.hero__texto { margin-top: 0; max-width: 560px; font-size: clamp(0.95rem, 1.3vw, 1.05rem); font-weight: 500; color: rgba(255, 255, 255, 0.84); }

.cta-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 2rem; padding: 4px; border-radius: 16px;
  background: rgba(0, 0, 0, 0.25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.cta-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.3rem; border-radius: 12px; font-size: 0.9rem; font-weight: 500; color: #fff; text-decoration: none; transition: background-color 0.25s; }
.cta-bar a:hover { background: rgba(255, 255, 255, 0.16); }
.cta-bar a.cta-bar__blanco { background: #fff; color: #000; }
.cta-bar a.cta-bar__blanco:hover { background: rgba(255, 255, 255, 0.9); }

/* Entrada de la portada */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero__texto, .hero .cta-bar, .hero__logo { animation: entrada 1s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .hero__texto { animation-delay: 0.15s; }
  .hero .cta-bar { animation-delay: 0.3s; }
  .hero__logo { animation-delay: 0.45s; }
}
@keyframes entrada { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }

/* ==========================================================================
   Horarios y actividades
   ========================================================================== */
.horarios { background: var(--arena); padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.horarios__rejilla { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr 1.5fr; }
.h-tarjeta { display: flex; flex-direction: column; background: var(--crema); border-radius: 28px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.h-tarjeta h3 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; }
.h-hora { margin-top: 1.6rem; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.035em; }
.h-tarjeta p:not(.h-hora) { margin-top: 0.7rem; opacity: 0.75; }
.h-tarjeta--ancha h3 + p { margin-top: 1.1rem; font-size: 1.05rem; }

.divisor { display: flex; align-items: center; gap: 2px; margin-top: clamp(3rem, 6vw, 5rem); }
.divisor i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.divisor b { flex: 1; height: 2px; background: var(--muted); }

/* ==========================================================================
   Lo que creemos: fondo fijo + columna izquierda fija + tarjetas de cristal que entran por la derecha
   ========================================================================== */
.creemos { isolation: isolate; overflow-x: clip; clip-path: inset(0 round var(--solape) var(--solape) 0 0); color: #fff; padding: clamp(5rem, 9vw, 8rem) 0 clamp(5rem, 9vw, 9rem); }
/* Fondo fijo: el contenedor mide EXACTAMENTE la pantalla y recorta (overflow: hidden); la imagen, algo más grande y desenfocada, va dentro.
   Antes la capa fija llevaba transform: scale(1.06) y en el móvil ensanchaba la página (se veía «alejada»). */
.creemos__fondo { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: #2a1708; }
.creemos__fondo::before { content: ""; position: absolute; inset: -3%; background: url("../img/cruz.webp") center / cover no-repeat; filter: blur(2px) saturate(1.1); }
.creemos__velo { position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 9, 2, 0.5), rgba(18, 9, 2, 0.62)); }

.creemos__rejilla { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.creemos__eyebrow { margin-bottom: 0.9rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.creemos__titulo { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; }
.creemos__nav, .creemos__cta { display: none; }

@media (min-width: 1024px) {
  .creemos { padding-block: 0; }
  .creemos__rejilla { grid-template-columns: 380px 1fr; gap: clamp(4rem, 8vw, 9rem); }
  .creemos__izq {
    position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
    padding-block: 7.5rem clamp(2rem, 6vh, 4rem); overflow-y: auto; scrollbar-width: none;
  }
  .creemos__izq::-webkit-scrollbar { display: none; }
  .creemos__nav { display: flex; flex-direction: column; gap: 5px; }
  .creemos__cta { display: flex; align-self: flex-start; margin-top: 0; }
  .creemos__der { padding-block: clamp(6rem, 14vh, 9rem); }
}
.creemos__nav button {
  width: 100%; padding: 0.55rem 1rem; border: 0; border-radius: 12px; background: rgba(0, 0, 0, 0.22); cursor: pointer;
  font-size: 0.9rem; font-weight: 500; text-align: left; color: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: color 0.3s, background-color 0.3s;
}
.creemos__nav button:hover { color: rgba(255, 255, 255, 0.85); }
.creemos__nav button.activo { color: #fff; background: rgba(0, 0, 0, 0.4); }

.creemos__der { display: flex; flex-direction: column; gap: 1.25rem; }
.c-tarjeta {
  padding: clamp(1.5rem, 3.6vw, 2.6rem); border-radius: 26px; border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(24, 13, 3, 0.52); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.c-cab { display: flex; align-items: center; gap: 0.7rem; color: rgba(255, 255, 255, 0.78); }
.c-cab svg { width: 26px; height: 26px; flex: none; }
.c-num { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.c-tarjeta h3 { margin: 1rem 0 1.15rem; font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.c-texto p { margin-bottom: 0.95rem; font-size: 1.05rem; line-height: 1.75; color: rgba(255, 255, 255, 0.84); }
.c-texto p:last-child { margin-bottom: 0; }
.c-pregunta { margin-top: 1.5rem; font: italic 400 clamp(1.8rem, 3vw, 2.3rem)/1.2 var(--serif); color: #fff !important; }
.c-cita { margin-block: 1.6rem !important; padding-left: 1.2rem; border-left: 2px solid rgba(255, 255, 255, 0.5); font: italic 400 clamp(1.6rem, 2.8vw, 2.1rem)/1.3 var(--serif); color: #fff !important; }
.c-amen { margin-top: 1.5rem; font: italic 400 1.8rem/1.2 var(--serif); color: #fff !important; }

.c-epigrafe { padding-block: clamp(2rem, 4.5vw, 3.2rem); }
.epigrafe { font: italic 400 clamp(2rem, 4.2vw, 3.2rem)/1.12 var(--serif); letter-spacing: -0.01em; }
.epigrafe span { display: block; }
.c-nota { margin-top: 1.3rem; max-width: 62ch; font-size: 1.05rem; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.refs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.refs li { padding: 0.4rem 0.95rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); }

/* ==========================================================================
   Bienvenidos + oración + conocer a Dios
   ========================================================================== */
.bienvenidos { background: var(--arena); padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(4rem, 8vw, 7rem); }
.b-titulo { text-align: center; font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 400; line-height: 1.04; letter-spacing: -0.03em; }
.b-titulo em { font-size: 1.1em; letter-spacing: -0.01em; }
.bienvenidos .divisor { margin-top: clamp(2.5rem, 5vw, 4rem); }
.b-abajo { display: flex; flex-direction: column; gap: 2rem; max-width: 1100px; margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.b-logo { width: clamp(110px, 13vw, 150px); flex: none; }
.b-grande { font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 400; line-height: 1.3; letter-spacing: -0.015em; }
.b-normal { margin-top: 1.6rem; max-width: 62ch; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; opacity: 0.8; }
@media (min-width: 768px) { .b-abajo { flex-direction: row; gap: clamp(3rem, 7vw, 6rem); } }

/* Mosaico de fotos del culto: una alta a la izquierda y dos apaisadas a la derecha */
.mosaico { display: grid; gap: 1rem; grid-template-columns: 1fr 1.15fr; grid-template-rows: 1fr 1fr; height: clamp(440px, 58vw, 740px); margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.mosaico figure { margin: 0; overflow: hidden; border-radius: 28px; background: var(--muted); }
.mosaico img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 40%); transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.mosaico figure:hover img { transform: scale(calc(var(--z, 1) + 0.05)); }
.mosaico__alta { grid-row: 1 / span 2; }
.mosaico__alta img { object-position: 52% 30%; }
.mosaico__a img { object-position: 50% 30%; --z: 1.4; --o: 48% 36%; }
.mosaico__b img { object-position: 62% 28%; --z: 1.15; --o: 62% 28%; }

.pareja { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-top: clamp(4rem, 8vw, 6.5rem); }
.p-tarjeta { display: flex; flex-direction: column; justify-content: space-between; gap: 3.5rem; min-height: 340px; padding: clamp(1.75rem, 3.6vw, 2.75rem); border-radius: 30px; }
.p-tarjeta--clara { background: var(--crema); }
.p-tarjeta--oscura { background: var(--tinta); color: var(--crema); }
.p-icono { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--arena); color: var(--tinta); }
.p-tarjeta--oscura .p-icono { background: var(--crema); }
.p-icono svg { width: 22px; height: 22px; }
.p-tarjeta h3 { margin-bottom: 1rem; font-size: clamp(1.6rem, 2.7vw, 2.3rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.025em; }
.p-tarjeta p { max-width: 46ch; opacity: 0.78; }

/* ==========================================================================
   Ven a visitarnos
   ========================================================================== */
.visita { position: relative; isolation: isolate; overflow: hidden; background: var(--tinta); color: var(--crema); text-align: center; padding: clamp(6rem, 12vw, 10rem) 0; }
.visita__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.visita__velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(50, 28, 4, 0.9) 0%, rgba(50, 28, 4, 0.74) 45%, rgba(31, 16, 3, 0.9) 100%); }
.visita h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.03em; }
.visita p { max-width: 44ch; margin: 1.3rem auto 2.2rem; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 249, 242, 0.85); }

/* ==========================================================================
   Dónde estamos
   ========================================================================== */
.donde { background: var(--arena); padding: clamp(5rem, 9vw, 8rem) 0; }
.donde__rejilla { display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: 1fr 1fr; align-items: center; }
.donde__texto h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.03em; }
.donde__texto p { margin: 1.2rem 0 2rem; max-width: 38ch; font-size: 1.2rem; line-height: 1.55; opacity: 0.8; }
.donde__mapa { display: block; overflow: hidden; border-radius: 28px; border: 6px solid var(--crema); box-shadow: 0 30px 50px -30px rgba(50, 28, 4, 0.5); transition: transform 0.4s; }
.donde__mapa:hover { transform: rotate(-0.6deg) scale(1.01); }
.donde__mapa img { width: 100%; }

/* ==========================================================================
   Contacto
   ========================================================================== */
.contacto { background: var(--crema); padding: clamp(5rem, 9vw, 8rem) 0; }
.contacto__rejilla { display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: 1fr 1.1fr; align-items: start; }
.contacto__intro h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.03em; }
.contacto__intro > p { margin: 1rem 0 2rem; font-size: 1.2rem; opacity: 0.8; }
.datos { display: grid; gap: 0.75rem; }
.datos a { display: flex; align-items: center; gap: 1rem; padding: 0.6rem 1.1rem 0.6rem 0.6rem; border-radius: 999px; background: var(--arena); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; transition: background-color 0.25s, transform 0.25s; }
.datos a:hover { background: var(--muted); transform: translateX(4px); }
.datos .icono { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; }
.datos svg { width: 18px; height: 18px; }

.formulario { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 30px; background: var(--arena); }
.campo { display: grid; gap: 0.4rem; }
.campo label { font-size: 0.9rem; font-weight: 500; }
.campo input, .campo textarea {
  width: 100%; padding: 0.85rem 1.1rem; border: 1px solid var(--muted); border-radius: 16px; background: var(--crema); color: var(--tinta); font: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.campo textarea { min-height: 150px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--tinta); box-shadow: 0 0 0 3px rgba(50, 28, 4, 0.14); }
.formulario .pastilla:disabled { opacity: 0.75; cursor: progress; transform: none; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Estado del envío (data-estado en el <form>): reposo · enviando · ok · error. Solo iconos, sin texto. */
.giro { display: none; width: 1.15em; height: 1.15em; animation: girar 0.8s linear infinite; }
.formulario[data-estado="enviando"] .giro { display: inline-block; }
.estado { display: none; justify-content: center; }
.estado svg { display: none; width: 52px; height: 52px; }
.formulario[data-estado="ok"] .estado, .formulario[data-estado="error"] .estado { display: flex; }
.formulario[data-estado="ok"] .estado__ok { display: block; color: #2f6b43; animation: aparecer 0.45s ease-out; }
.formulario[data-estado="error"] .estado__error { display: block; color: #b3402a; animation: aparecer 0.45s ease-out; }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes aparecer { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Grabaciones de los cultos (al final)
   ========================================================================== */
.grabaciones { background: var(--tinta); color: var(--crema); padding: clamp(5rem, 9vw, 8rem) 0 clamp(6rem, 10vw, 9rem); }
.grabaciones__titulo { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); text-align: center; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.03em; }
.grabaciones__titulo svg { flex: none; width: 0.95em; height: 0.95em; opacity: 0.7; }
.listas { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.lista {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 230px; padding: 1.6rem;
  border-radius: 28px; border: 1px solid rgba(255, 249, 242, 0.12); background: rgba(255, 249, 242, 0.05); text-decoration: none;
  transition: background-color 0.3s, transform 0.3s, border-color 0.3s;
}
.lista:hover { background: rgba(255, 249, 242, 0.11); border-color: rgba(255, 249, 242, 0.3); transform: translateY(-6px); }
.lista__icono { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--crema); color: var(--tinta); }
.lista__icono svg { width: 24px; height: 24px; }
.lista__titulo { max-width: calc(100% - 70px); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; }
.lista__play { position: absolute; right: 1.4rem; bottom: 1.4rem; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--muted); color: var(--tinta); transition: transform 0.3s, background-color 0.3s; }
.lista__play svg { width: 20px; height: 20px; margin-left: 2px; }
.lista:hover .lista__play { transform: scale(1.12); background: #fff; }

/* ==========================================================================
   Pie con puntos para buscadores
   ========================================================================== */
.pie { background: var(--oscuro); color: rgba(255, 249, 242, 0.7); padding: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: 0.95rem; }
.pie a { color: inherit; text-decoration: none; transition: color 0.2s; }
.pie a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pie h3 { margin-bottom: 1rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crema); }
.pie__rejilla { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.pie__logo { width: 120px; margin-bottom: 1.2rem; }
.pie__logo img { filter: brightness(0) invert(1); opacity: 0.92; }
.pie__nombre { margin-bottom: 0.7rem; font: 400 1.5rem/1.2 var(--sans); letter-spacing: -0.02em; color: #fff; }
.pie__marca p + p { margin-top: 0.7rem; }
.pie ul li + li { margin-top: 0.55rem; }
.pie address p { margin-bottom: 0.2rem; }
.pie address a { display: inline-block; margin-top: 0.7rem; color: #fff; }
.pie__seo { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2.5rem; border-top: 1px solid rgba(255, 249, 242, 0.12); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { margin: 0 !important; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid rgba(255, 249, 242, 0.16); font-size: 0.85rem; color: rgba(255, 249, 242, 0.82); }
.pie__copy { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 249, 242, 0.12); font-size: 0.82rem; color: rgba(255, 249, 242, 0.5); }

/* ==========================================================================
   Animación de entrada al hacer scroll (solo con JavaScript y sin «menos movimiento»)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .revelar { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
  .js .revelar--der { transform: translateX(64px); }
  .js .revelar.visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { position: relative; }
  .hero__foto, .hero__logo, .hero__contenido { transform: none; opacity: 1; }
  .giro, .estado svg { animation: none !important; }
  .pastilla, .nav__menu a, .datos a, .donde__mapa, .lista, .lista__play, .mosaico img { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* con el selector de idioma, el menú completo (en español) ya no cabe por debajo de ~1260px: desde ahí, hamburguesa */
@media (max-width: 1260px) {
  .nav__burger { display: block; order: 3; margin-left: 0.2rem; }
  .nav__idioma { order: 2; margin-left: auto; }
  .nav__menu {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 8px;
    border-radius: 24px; background: #fff; box-shadow: 0 20px 40px -16px rgba(50, 28, 4, 0.45);
    opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: top right; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  }
  .nav--abierto .nav__menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav__menu a { padding: 0.85rem 1.1rem; border-radius: 16px; font-size: 1rem; }
  .nav__menu .nav__cta { margin: 6px 0 0; text-align: center; }
}
@media (max-width: 1180px) {
  .pie__rejilla { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .listas { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .lista { flex-direction: row; align-items: center; min-height: 0; gap: 1.1rem; padding: 1.1rem 1.3rem 1.1rem 1.1rem; }
  .lista__icono { flex: none; width: 52px; height: 52px; }
  .lista__play { position: static; flex: none; margin-left: auto; width: 46px; height: 46px; }
  .lista__titulo { max-width: none; }
  .horarios__rejilla { grid-template-columns: 1fr 1fr; }
  .h-tarjeta--ancha { grid-column: 1 / -1; }
  .pareja, .donde__rejilla, .contacto__rejilla { grid-template-columns: 1fr; }
  .mosaico { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mosaico__alta { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .mosaico__a, .mosaico__b { aspect-ratio: 3 / 4; }
  .p-tarjeta { min-height: 0; }
  .donde__mapa { max-width: 640px; }
}
@media (max-width: 640px) {
  .nav { top: 10px; }
  .nav__pill { padding: 6px 6px 6px 16px; }
  .nav__marca { width: 76px; }
  .hero { min-height: 600px; }
  .hero__logo { width: 84px; margin-bottom: 0.6rem; }
  .hero h1 { font-size: clamp(2.1rem, 9.4vw, 3rem); }
  .hero__texto { margin-top: 0; font-size: 0.9rem; line-height: 1.5; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
  .hero .cta-bar { margin-top: 1.25rem; }
  .hero__contenido { padding-top: 92px; padding-bottom: calc(1.75rem + var(--solape)); }
  .horarios__rejilla { grid-template-columns: 1fr; }
  .grabaciones__titulo { flex-direction: column; gap: 0.7rem; }
  .pie__rejilla, .pie__seo { grid-template-columns: 1fr; }
}
@media (max-height: 620px) { .hero__logo { display: none; } }

/* ==========================================================================
   Portada en móvil (<760px): más compacta, con la foto integrada y dejando ver lo que hay debajo
   Orden: logo + título · foto a todo el ancho (solo se recorta aire a los lados: sale todo el mundo) · texto · botones
   ========================================================================== */
@media (max-width: 759px) {
  .hero { height: auto; min-height: 0; justify-content: flex-start; }
  .hero__contenido { display: contents; }
  .hero__arriba { order: 1; position: relative; z-index: 2; padding: 82px var(--gutter) 0; }
  .hero__foto {
    order: 2; position: relative; inset: auto; z-index: 1; width: 100%; height: auto; aspect-ratio: 1.42 / 1;
    object-fit: cover; object-position: 48.2% 55%; margin-top: -1.1rem; transform: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 17%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 17%, #000 88%, transparent 100%);
  }
  .hero__abajo { order: 3; position: relative; z-index: 2; padding: 0.2rem var(--gutter) calc(1.1rem + var(--solape)); }
  .hero__velo { background: linear-gradient(180deg, rgba(20, 10, 2, 0.5) 0%, rgba(20, 10, 2, 0.15) 30%, rgba(20, 10, 2, 0.1) 60%, rgba(20, 10, 2, 0.7) 100%); }
  .hero__logo { width: 68px; margin-bottom: 0.45rem; }
  .hero h1 { font-size: clamp(1.55rem, 7.3vw, 2.2rem); line-height: 1.05; }
  .hero__texto { margin-top: 0; font-size: 0.86rem; line-height: 1.45; }
  /* botones: WhatsApp grande y arriba, los otros tres en una fila compacta */
  .hero .cta-bar { margin-top: 0.85rem; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero .cta-bar a { display: flex; align-items: center; justify-content: center; padding: 0.62rem 0.1rem; font-size: 0.7rem; line-height: 1.15; letter-spacing: -0.01em; text-align: center; white-space: nowrap; }
  .hero .cta-bar a.cta-bar__blanco { grid-column: 1 / -1; padding: 0.8rem 1rem; font-size: 0.92rem; }
}

/* ==========================================================================
   Ajustes del móvil (<760px): sin logo blanco en la portada, barra de «Lo que creemos» oculta, grabaciones iguales y pie en puntos
   ========================================================================== */
@media (max-width: 759px) {
  .hero__logo { display: none; }                      /* el logo blanco solo se ve en escritorio y tablet grande */
  .hero__arriba { padding-top: 88px; }
  .creemos__nav, .creemos__cta { display: none !important; }   /* la barra lateral de «Lo que creemos» es solo de escritorio */
  .lista { min-height: 84px; gap: 0.85rem; padding: 0.95rem 1rem 0.95rem 0.95rem; }
  .lista__icono { width: 46px; height: 46px; }
  .lista__icono svg { width: 21px; height: 21px; }
  .lista__play { width: 40px; height: 40px; }
  .lista__titulo { min-width: 0; font-size: 1.25rem; }
  .pie { padding-top: 3.2rem; }
  .pie__rejilla { gap: 2rem; }
  /* las etiquetas del pie no se pulsan: en el móvil se muestran como puntos de una lista, no como botones */
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; }
  .pie__seo > div + div .chips { grid-template-columns: 1fr; }
  .chips .chips__ancho { grid-column: 1 / -1; }          /* el nombre largo de la universidad ocupa las dos columnas */
  .chips li { position: relative; padding: 0 0 0 1rem; border: 0; border-radius: 0; font-size: 0.86rem; line-height: 1.35; }
  .chips li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 249, 242, 0.5); }
}

/* Las tarjetas de «Lo que creemos» entraban deslizándose desde la derecha (translateX 64px) y, mientras no se habían mostrado, quedaban fuera de la
   pantalla: en el móvil eso ensanchaba la página ~44px y se veía «alejada». En móvil entran desde abajo, sin salirse del ancho. */
@media (prefers-reduced-motion: no-preference) and (max-width: 759px) {
  .js .revelar--der { transform: translateY(26px); }
}

/* ==========================================================================
   Banners finales: Biblijocs (ministerio de campamentos) y Glossa (traduccion en vivo), uno al lado del otro.
   Misma forma, tipografia y espaciado; uno oscuro (el logo de Biblijocs es blanco) y otro claro (el de Glossa es naranja sobre blanco).
   ========================================================================== */
.extras { background: var(--arena); padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(4.5rem, 8vw, 6.5rem); }
.extras__rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.banner { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: 28px; }
.banner--oscuro { background: var(--tinta); color: var(--crema); }
.banner--claro { background: var(--crema); color: var(--tinta); }
.banner__marca { display: flex; align-items: center; height: 96px; margin-bottom: 1.2rem; }
.banner__biblijocs { display: block; width: min(100%, 250px); height: auto; }          /* logo blanco con transparencia: va sobre fondo oscuro */
/* El logo de Glossa trae mucho margen blanco y fondo blanco: se recorta con CSS y se funde con la tarjeta (multiply) */
.banner__glossa { display: block; position: relative; overflow: hidden; width: 108px; aspect-ratio: 370 / 330; }
.banner__glossa img { position: absolute; max-width: none; width: 120.8%; left: -10.8%; top: -16.7%; height: auto; mix-blend-mode: multiply; }
.banner h2 { margin-bottom: 0.6rem; font-size: clamp(1.55rem, 2.7vw, 2.1rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.banner p { margin-bottom: 1.5rem; font-size: clamp(0.98rem, 1.25vw, 1.06rem); line-height: 1.6; }
.banner p:last-child { margin-bottom: 0; }
.banner--oscuro p { color: rgba(255, 249, 242, 0.82); }
.banner--claro p { color: rgba(50, 28, 4, 0.78); }
.banner .pastilla { margin-top: auto; }
@media (max-width: 899px) {
  .extras__rejilla { grid-template-columns: minmax(0, 1fr); }
  .banner { border-radius: 24px; }
  .banner__marca { height: 80px; margin-bottom: 1rem; }
  .banner__biblijocs { width: min(100%, 210px); }
  .banner__glossa { width: 90px; }
}

/* ==========================================================================
   Aviso de cookies (estadísticas con consentimiento) y botón «Preferencias de cookies» del pie
   ========================================================================== */
.pie__cookies { margin-top: 0.6rem; font-size: 0.82rem; }
.enlace-cookies { padding: 0; border: 0; background: none; font: inherit; color: rgba(255, 249, 242, 0.5); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color 0.25s; }
.enlace-cookies:hover { color: var(--crema); }
.cookies {
  position: fixed; z-index: 60;
  left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 1rem;
  width: min(25rem, 100% - 32px); padding: 1.25rem 1.4rem 1.4rem;
  border-radius: 24px; background: var(--crema); color: var(--tinta);
  box-shadow: 0 18px 50px rgba(31, 16, 3, 0.24), 0 0 0 1px rgba(50, 28, 4, 0.08);
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0; font-size: 0.92rem; line-height: 1.55; }
.cookies__botones { display: flex; gap: 0.6rem; }
.cookies__botones .pastilla { flex: 1; justify-content: center; padding: 0.85rem 1rem; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .cookies { animation: cookies-entra 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
  @keyframes cookies-entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
