/* =========================================================
   testimonios.css — Estilos de la página Testimonios
   Fundación Germen de Paz
   ========================================================= */

/* ── Hero ───────────────────────────────────────────────────── */
.hero-testimonios {
  min-height: 60vh;
  background: linear-gradient(160deg, var(--verde-oscuro) 0%, #0D2B10 60%, var(--verde-medio) 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 160px 5% 100px;
  position: relative;
  overflow: hidden;
}
.hero-testimonios::before {
  content: '🎬';
  position: absolute; font-size: 340px;
  right: -60px; bottom: -60px;
  opacity: .04; pointer-events: none;
}
.hero-testimonios::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 90px; background: var(--crema);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-testimonios-content { position: relative; z-index: 1; max-width: 760px; }
.hero-tag-test {
  display: inline-block;
  background: rgba(240,192,64,.18); color: var(--dorado-claro);
  padding: 6px 18px; border-radius: 100px;
  font-size: .78rem; font-weight: 500; letter-spacing: .5px;
  margin-bottom: 24px;
  opacity: 0; animation: fadeUp .6s .2s forwards;
}
.hero-titulo-test {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900; color: var(--blanco);
  line-height: 1.15; margin-bottom: 24px;
  opacity: 0; animation: fadeUp .6s .4s forwards;
}
.hero-titulo-test em { font-style: italic; color: var(--dorado-claro); }
.hero-subtitulo-test {
  font-size: 1.05rem; color: rgba(255,255,255,.78);
  line-height: 1.8; font-weight: 300;
  max-width: 620px; margin: 0 auto;
  opacity: 0; animation: fadeUp .6s .6s forwards;
}

/* ── Videos ─────────────────────────────────────────────────── */
.videos-seccion {
  padding: 100px 5%;
  background: var(--crema);
}
.videos-header {
  text-align: center; margin-bottom: 64px;
}
.videos-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

/* ── Tarjeta de video ───────────────────────────────────────── */
.video-card {
  background: var(--blanco);
  border-radius: var(--radio-grande);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: all .4s;
  opacity: 0; transform: translateY(28px);
}
.video-card.visible { opacity: 1; transform: translateY(0); }
.video-card:nth-child(2) { transition-delay: .12s; }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); }

.video-thumb-link {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  text-decoration: none;
}
.video-thumb-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s;
}
.video-thumb-link:hover .video-thumb-img { transform: scale(1.04); }
.video-play-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: rgba(0,0,0,.35);
  transition: background .3s;
}
.video-thumb-link:hover .video-play-overlay { background: rgba(0,0,0,.5); }
.video-play-btn {
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.5));
  transition: transform .3s;
}
.video-thumb-link:hover .video-play-btn { transform: scale(1.12); }
.video-play-label {
  color: #fff; font-size: .82rem; font-weight: 500;
  letter-spacing: .5px;
  background: rgba(0,0,0,.55);
  padding: 5px 14px; border-radius: 100px;
}

.video-card-info { padding: 28px 32px 32px; }
.video-card-tag {
  display: inline-block;
  background: var(--crema-oscuro); color: var(--verde-medio);
  font-size: .72rem; font-weight: 500;
  padding: 3px 12px; border-radius: 100px;
  margin-bottom: 12px;
}
.video-card-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--verde-oscuro);
  margin-bottom: 8px;
}
.video-card-desc {
  font-size: .88rem; color: var(--texto-medio);
  line-height: 1.65;
}

/* ── Testimonios escritos ───────────────────────────────────── */
.testimonios-escritos-seccion {
  padding: 100px 5%;
  background: var(--verde-oscuro);
  position: relative; overflow: hidden;
}
.testimonios-escritos-seccion::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 80px; background: var(--crema);
  clip-path: ellipse(55% 100% at 50% 0%);
}
.testimonios-escritos-seccion::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px; background: #0D1F10;
  clip-path: ellipse(55% 100% at 50% 100%);
}
.testimonios-escritos-header {
  text-align: center; margin-bottom: 64px;
}
.testimonios-escritos-header .seccion-tag { background: rgba(240,192,64,.15); color: var(--dorado-claro); }
.testimonios-escritos-header .seccion-titulo { color: var(--blanco); }
.testimonios-escritos-header .seccion-titulo em { color: var(--dorado-claro); font-style: italic; }
.testimonios-escritos-header .seccion-texto { color: rgba(255,255,255,.65); }

.testimonios-escritos-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative; z-index: 1;
}

.testimonio-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radio-grande);
  padding: 40px 36px 36px;
  position: relative;
  transition: all .4s;
  opacity: 0; transform: translateY(28px);
  display: flex; flex-direction: column; gap: 24px;
}
.testimonio-card.visible { opacity: 1; transform: translateY(0); }
.testimonio-card:nth-child(2) { transition-delay: .1s; }
.testimonio-card:nth-child(3) { transition-delay: .2s; }
.testimonio-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(240,192,64,.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.testimonio-comilla {
  font-family: 'Playfair Display', serif;
  font-size: 7rem; line-height: .6;
  color: var(--dorado-claro);
  opacity: .35;
  position: absolute; top: 20px; left: 28px;
  pointer-events: none;
}

.testimonio-texto {
  font-size: .9rem;
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  font-weight: 300;
  font-style: italic;
  padding-top: 28px;
  flex: 1;
}

.testimonio-autor {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.testimonio-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde-claro), var(--dorado));
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
  color: var(--blanco);
  flex-shrink: 0;
}
.testimonio-nombre {
  font-size: .9rem; font-weight: 500;
  color: var(--blanco);
}
.testimonio-rol {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
}

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

/* ── En los medios ──────────────────────────────────────────── */
.medios-seccion {
  padding: 100px 5%;
  background: #0D1F10;
  position: relative; overflow: hidden;
}
.medios-seccion::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 80px; background: var(--crema);
  clip-path: ellipse(55% 100% at 50% 0%);
}
.medios-seccion::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px; background: var(--crema);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.medios-header {
  text-align: center; margin-bottom: 56px;
}
.medios-header .seccion-tag { background: rgba(240,192,64,.15); color: var(--dorado-claro); }
.medios-header .seccion-titulo { color: var(--blanco); }
.medios-header .seccion-titulo em { color: var(--dorado-claro); font-style: italic; }
.medios-header .seccion-texto { color: rgba(255,255,255,.65); }
.medios-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

.medio-card {
  display: block;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radio-grande);
  overflow: hidden;
  text-decoration: none;
  transition: all .35s;
  opacity: 0; transform: translateY(24px);
}
.medio-card.visible { opacity: 1; transform: translateY(0); }
.medio-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(240,192,64,.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.medio-card-top {
  padding: 28px 32px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.medio-fuente-badge {
  background: rgba(240,192,64,.18);
  color: var(--dorado-claro);
  font-size: .75rem; font-weight: 500;
  padding: 4px 14px; border-radius: 100px;
  letter-spacing: .5px;
}
.medio-icono { font-size: 2rem; }

.medio-card-body { padding: 20px 32px 32px; }
.medio-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--blanco);
  margin-bottom: 12px; line-height: 1.3;
}
.medio-desc {
  font-size: .9rem; color: rgba(255,255,255,.65);
  line-height: 1.7; margin-bottom: 24px;
}
.medio-leer {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--dorado-claro);
  font-size: .88rem; font-weight: 500;
  transition: gap .2s;
}
.medio-card:hover .medio-leer { gap: 12px; }

/* ── CTA ────────────────────────────────────────────────────── */
.cta-test {
  padding: 100px 5%;
  text-align: center;
  background: var(--crema);
}
.cta-test-inner {
  max-width: 700px; margin: 0 auto;
  opacity: 0; transform: translateY(24px); transition: all .8s;
}
.cta-test-inner.visible { opacity: 1; transform: translateY(0); }
.cta-titulo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: var(--verde-oscuro);
  line-height: 1.2; margin-bottom: 20px;
}
.cta-titulo em { font-style: italic; color: var(--dorado); }
.cta-texto {
  font-size: 1rem; color: var(--texto-medio);
  line-height: 1.8; margin-bottom: 40px;
}
.cta-botones { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.fab {
  font-size: 28px;
  margin: 0 8px;
  transition: opacity 0.2s;
}

.fa-youtube    { color: #FF0000; }
.fa-facebook   { color: #1877F2; }
.fa-whatsapp   { color: #25D366; }
.fa-instagram  { color: #E1306C; }

.fab:hover {
  opacity: 0.75;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .videos-grid { grid-template-columns: 1fr; }
  .cta-botones { flex-direction: column; align-items: center; }
}
