/* ========================================
   HERO DEL FORO
======================================== */
#forum-hero {
  padding: 2rem 1.5rem 4.5rem;
  background: radial-gradient(circle at top left, #1d4ed8 0%, #020617 55%, #020617 100%);
  color: #e5e7eb;
}

.forum-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10.5rem;
  align-items: center;
}

.forum-hero-text {
  max-width: 34rem;
}

.forum-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  color: #93c5fd;
  margin-bottom: 0.75rem;
}

.forum-hero-text h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.9rem;
}

.forum-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 0;
}

.forum-btn-wrap {
  margin-top: 1.8rem;
}

.forum-btn-wrap .kintu-btn {
  display: inline-block;
}

/* Imagen hero */
.forum-hero-img img {
  width: 100%;
  display: block;
  border-radius: 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.55);
}


/* ========================================
   PARES TEXTO - IMAGEN
======================================== */
.section-light,
.section-colored {
  width: 100%;
  padding: 4.5rem 0;
}

.section-light {
  background: #ffffff;
}

.section-colored {
  background: #f3f6ff;
}

.two-col,
.forum-section-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.col-text h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.col-text p {
  line-height: 1.6;
  color: #475569;
}

.col-img img {
  width: 100%;
  display: block;
  border-radius: 1.4rem;
  box-shadow: 0 14px 38px rgba(0,0,0,0.08);
}


/* ========================================
   BUSCADOR POR CATEGORÍAS
======================================== */
.center-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0f172a;
}

.filters-grid {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.filter-card {
  background: #ffffff;
  padding: 1.4rem;
  border-radius: 1.2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.filter-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: #1e293b;
}

.filter-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-card li {
  padding: 0.25rem 0;
  color: #475569;
}


/* ========================================
   PLANTILLA DEL CASO
======================================== */
.template-box {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 1.2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  font-size: 0.92rem;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}


/* ========================================
   REGLAS DEL FORO
======================================== */
.rules-grid {
  max-width: 1220px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.rule-card {
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 1.3rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.rule-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #1e293b;
}

.rule-card p {
  margin-bottom: 0;
  color: #475569;
}


/* ========================================
   BOTÓN FLOTANTE WHATSAPP
======================================== */
.help-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: #22c55e;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.help-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.24);
  background: #16a34a;
}


/* ========================================
   ANIMACIONES reveal
======================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 900px) {
  .forum-hero-inner,
  .two-col {
    grid-template-columns: 1fr;
    text-align: left;
  }

  #forum-hero {
    padding-top: 5rem;
  }

  .forum-hero-inner {
    gap: 2.5rem;
  }

  .forum-hero-img {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .forum-hero-text h1 {
    font-size: 2.1rem;
  }

  .center-title {
    font-size: 1.7rem;
  }
}
/* Asegurar estilo del botón en el hero del foro */
#forum-hero .kintu-btn {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

#forum-hero .kintu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
}
