/*
 * Eventos Tío — Equipos / Catálogo Page Styles
 * page-equipos.php specific
 */

/* ========== HERO ========== */
.equipos-hero {
  padding: clamp(10rem, 20vh, 14rem) 0 var(--section-gap);
  position: relative;
  overflow: hidden;
}

.equipos-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  letter-spacing: 0.03em;
  line-height: 0.9;
  margin-bottom: 1.5rem;
}

.equipos-hero-title em {
  font-style: normal;
  color: var(--red);
}

.equipos-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

.equipos-hero-glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--red-glow) 0%, transparent 70%);
  opacity: 0.2;
  pointer-events: none;
}

/* ========== SECTIONS ========== */
.equipos-section {
  padding: var(--section-gap) 0;
}

.equipos-section--alt {
  background: var(--bg-surface);
}

.equipos-section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.equipos-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
}

/* ========== GRID ========== */
.equipos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
}

/* ========== CARD ========== */
.equipo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo);
}

.equipo-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.equipo-card-image {
  aspect-ratio: 1;
  background: #0c0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
}

.equipo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out-expo);
}

.equipo-card:hover .equipo-card-image img {
  transform: scale(1.05);
}

.equipo-card-body {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid var(--border-subtle);
}

.equipo-card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.equipo-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

/* ========== CTA ========== */
.equipos-cta {
  padding: clamp(6rem, 14vw, 10rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.equipos-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(196, 30, 58, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.equipos-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  position: relative;
}

.equipos-cta h2 em {
  font-style: normal;
  color: var(--red);
}

.equipos-cta > .container > p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 520px;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.7;
  position: relative;
}

.equipos-cta-actions {
  position: relative;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .equipos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .equipos-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}
