/* ===================================================
   Estilos específicos para la página REC (rec.html)
   =================================================== */

/* Hero específico de REC */
.hero--rec {
  min-height: 520px;
  height: 65vh;
  max-height: 650px;
  padding-top: 80px;
}

.rec__badge {
  display: inline-block;
  background-color: rgba(26, 164, 228, 0.15);
  color: #1aa4e4;
  border: 1px solid rgba(26, 164, 228, 0.4);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  justify-self: center;
}

/* Sección de Grupos REC */
.rec__section {
  padding-top: 80px;
  padding-bottom: 90px;
}

.rec__section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.rec__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 40px;
}

/* Tarjeta de Grupo REC */
.rec__card {
  background-color: #1c1f28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.rec__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1aa4e4, #25d366);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rec__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  border-color: rgba(26, 164, 228, 0.4);
}

.rec__card:hover::before {
  opacity: 1;
}

.rec__card-header {
  margin-bottom: 20px;
}

.rec__card-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.08);
  color: #1aa4e4;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.rec__card-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.rec__card-details {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rec__card-item {
  display: flex;
  align-items: flex-start;
  color: #c9cdd4;
  font-size: 0.95rem;
  line-height: 1.5;
}

.rec__card-icon {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: #1aa4e4;
}

.rec__card-item strong {
  color: #ffffff;
  margin-right: 6px;
}

.rec__btn-join {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: auto;
}

.rec__btn-join:hover {
  background-color: #1eb956;
  transform: scale(1.02);
}

.rec__btn-icon {
  width: 20px;
  height: 20px;
}

/* ===================================================
   Sección: Conversaciones Espirituales (Descargas PDF)
   =================================================== */

.rec__docs-section {
  background-color: #14161d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 85px;
  padding-bottom: 100px;
}

.rec__docs-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.rec__docs-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 950px;
  margin: 0 auto;
}

.rec__docs-status {
  max-width: 950px;
  margin: 0 auto 1.5rem auto;
  padding: 16px 20px;
  border-radius: 10px;
  background-color: rgba(26, 164, 228, 0.1);
  border: 1px solid rgba(26, 164, 228, 0.25);
  color: #cbd5e1;
  text-align: center;
  font-size: 0.95rem;
}

.rec__docs-status--error {
  background-color: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

.is-hidden {
  display: none !important;
}

.rec__doc-card {
  background-color: #1c1f28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rec__doc-card:hover {
  transform: translateX(4px);
  border-color: rgba(26, 164, 228, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.rec__doc-info {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}

.rec__doc-date-badge {
  background: rgba(26, 164, 228, 0.12);
  border: 1px solid rgba(26, 164, 228, 0.3);
  color: #1aa4e4;
  padding: 10px 16px;
  border-radius: 10px;
  text-align: center;
  min-width: 105px;
  flex-shrink: 0;
}

.rec__doc-date-day {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 2px;
}

.rec__doc-date-month {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rec__doc-date-year {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
}

.rec__doc-text {
  flex: 1;
}

.rec__doc-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.rec__doc-description {
  color: #a4aab5;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.rec__download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #1aa4e4;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rec__download-btn:hover {
  background-color: #1585bb;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26, 164, 228, 0.4);
}

.rec__download-btn svg {
  width: 18px;
  height: 18px;
}

/* Responsividad */
@media (max-width: 800px) {
  .hero--rec {
    min-height: 480px;
    height: auto;
    padding-top: 90px;
    padding-bottom: 60px;
  }

  .rec__grid {
    grid-template-columns: 1fr;
  }

  .rec__doc-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }

  .rec__doc-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
  }

  .rec__download-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
}
