/* galeria.css — Galería cinematográfica MarketinAI v3 */

/* Hero */
.g-hero {
  text-align: center;
  padding: 5rem 1.25rem 3rem;
}
.g-etiqueta {
  color: #888;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 .75rem;
}
.g-titulo {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.g-acento { color: #00d4aa; }
.g-bajada {
  color: #aaa;
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 32rem;
  margin: 0 auto;
}

/* Grid: una tarjeta por fila, ancho completo */
.g-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem 5rem;
}

/* Tarjeta */
.g-card {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #111;
  border: 1px solid #1e1e1e;
  transition: border-color .25s, transform .25s;
  width: 100%;
}
.g-card:hover {
  border-color: #333;
  transform: translateY(-4px);
}
.g-enlace {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Marco de la imagen */
.g-marco {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

/* Imagen del hero de la demo */
.g-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
.g-card:hover .g-img {
  transform: scale(1.02);
}

/* Gradiente decorativo en el borde inferior */
.g-capa {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 65%, rgba(17,17,17,0.5) 100%);
  pointer-events: none;
}

/* Info bajo la imagen */
.g-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.125rem 1.5rem;
  border-top: 1px solid #1e1e1e;
}
.g-sector {
  font-size: .75rem;
  color: #888;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.g-nombre {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  flex: 1;
}
.g-ver {
  font-size: .9rem;
  color: #00d4aa;
  font-weight: 600;
  white-space: nowrap;
  transition: letter-spacing .2s;
}
.g-card:hover .g-ver { letter-spacing: .04em; }

/* CTA WhatsApp */
.g-cta {
  text-align: center;
  padding: 4rem 1.25rem 5rem;
  background: #111;
  border-top: 1px solid #1e1e1e;
}
.g-cta-titulo {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 .75rem;
}
.g-cta-texto {
  color: #aaa;
  font-size: 1.0625rem;
  margin: 0 0 2rem;
}
.g-wa {
  display: inline-block;
  padding: 1.0625rem 2.5rem;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.g-wa:hover { opacity: .92; transform: translateY(-2px); }

/* Móvil */
@media (max-width: 600px) {
  .g-grid { gap: 2rem; padding: 1rem 1rem 3rem; }
  .g-hero { padding: 3.5rem 1rem 2rem; }
  .g-info { flex-wrap: wrap; gap: .75rem; }
}
