/* =========================
   RESET BÁSICO
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

/* =========================
   CTA FLOTANTE
========================= */
.sticky-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

/* =========================
   HEADER
========================= */
.marca img {
  width: 120px;
}

.indice {
  display: none;
  gap: 20px;
}

.indice a.activo {
  color: #9333ea;
  border-bottom: 2px solid #9333ea;
}

/* =========================
   MENÚ MÓVIL
========================= */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* =========================
   CARRUSEL
========================= */
.carrusel {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.carrusel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.carrusel img.activo {
  opacity: 1;
}

/* =========================
   CONTENEDORES GENERALES
========================= */
.contenedor1 {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.info-section {
  text-align: center;
}

.info-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.info-section p {
  color: #444;
}

/* =========================
   TARJETAS
========================= */
.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body,
.card-content {
  padding: 20px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* =========================
   EVENTOS TEMÁTICOS
========================= */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* =========================
   GALERÍA
========================= */
.aspect-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   BOLETOS (2 COLUMNAS)
========================= */
.fila2 {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contenedor2 {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.img-tam {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* =========================
   FOOTER
========================= */
.redes {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* =========================
   ANIMACIONES
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ======= DESKTOP =======
========================= */
@media (min-width: 768px) {

  .indice {
    display: flex;
  }

  .carrusel {
    height: 80vh;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fila2 {
    flex-direction: row;
  }

  .contenedor2 {
    width: 50%;
  }
}

@media (min-width: 1024px) {

  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contenedor1 {
    padding: 40px;
  }
}
/* ===============================
   ARREGLO TARJETAS PC
================================ */

/* Todas las cards misma altura */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Imagen con altura fija */
.card img {
  height: 230px;
  object-fit: cover; /* cambia a 'contain' si no quieres recorte */
}

/* Contenido empuja hacia abajo */
.card-body,
.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===============================
   TEXTOS CENTRADOS (RESPETAR)
================================ */
.info-section,
.section-header,
.text-center {
  text-align: center;
}

/* Títulos siempre centrados */
.card h3 {
  text-align: center;
}

/* Párrafos centrados SOLO en cards */
.card p {
  text-align: center;
}

/* ===============================
   SOLO DESKTOP
================================ */
@media (min-width: 1024px) {

  /* Igualar altura en grids */
  .card
/* ===============================
   FIX DEFINITIVO TARJETAS
================================ */

/* DESACTIVAR COLUMNS */
.columns-1,
.sm\:columns-2,
.lg\:columns-3 {
  column-count: unset !important;
  column-gap: unset !important;
}

/* USAR GRID REAL */
@media (min-width: 768px) {
  .columns-1 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .columns-1 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===============================
   TARJETAS IGUALES SÍ O SÍ
================================ */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card img {
  height: 240px;
  object-fit: cover;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
/* ===============================
   EVENTOS TEMÁTICOS – FIX FINAL
================================ */

/* Contenedor general centrado */
#tematicos .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Grid centrado y parejo */
#tematicos .cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  justify-items: center;
}

/* Cards con ancho controlado */
#tematicos .card {
  width: 100%;
  max-width: 280px;
  text-align: center;
}

/* Imagen pareja */
#tematicos .card-image img {
  height: 200px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

/* ===============================
   RESPONSIVE
================================ */
@media (min-width: 768px) {
  #tematicos .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  #tematicos .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.contenedor4{
margin-left: 30%;

}
