/* =============================================
   IMPACT MARKETING COMPANY - GALERÍA
   ============================================= */

/* ==================== NAVBAR (fondo oscuro permanente) ==================== */
#header {
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 0;
}

#header .navbar-inner {
  background: transparent;
}

#header.scrolled .navbar-inner {
  background: transparent;
}

@media (max-width: 767px) {
  #header {
    padding: 12px 0 !important;
  }

  #header .navbar-inner.menu-abierto {
    background: transparent;
  }
}

.galeria-section {
  padding: 120px 0 110px;
}

.galeria-section .section-tag {
  margin-bottom: 1rem;
}

.galeria-section .section-title {
  margin-bottom: 0.75rem;
}

.galeria-section .section-subtitle {
  margin-bottom: 0;
}

/* ==================== VISTA MARCAS ==================== */
.marcas-grid {
  margin-top: 3.5rem;
}

.marca-card {
  position: relative;
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  background: var(--dark-2);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.marca-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.marca-card:hover img {
  transform: scale(1.08);
}

.marca-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.92) 0%, rgba(11, 15, 25, 0.25) 55%, rgba(11, 15, 25, 0.1) 100%);
  transition: background 0.5s ease;
  z-index: 2;
}

.marca-card:hover .marca-overlay {
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95) 0%, rgba(139, 92, 246, 0.25) 65%, rgba(11, 15, 25, 0.15) 100%);
}

.marca-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.4s ease;
}

.marca-card:hover .marca-count {
  transform: translateY(0);
  opacity: 1;
}

.marca-name {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--white);
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

.marca-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.4s ease;
}

.marca-card:hover .marca-cta {
  color: var(--white);
}

.marca-cta i {
  transition: transform 0.4s ease;
}

.marca-card:hover .marca-cta i {
  transform: translateX(6px);
}

.marca-line {
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient-main);
  margin-top: 0.5rem;
  transition: width 0.6s ease;
}

.marca-card:hover .marca-line {
  width: 80px;
}

/* ==================== VISTA ACTIVACIÓN ==================== */
.btn-volver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid rgba(139, 92, 246, 0.3);
  background: transparent;
  color: var(--purple-dark);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.btn-volver:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--purple);
}

.activacion-header {
  margin-bottom: 3rem;
}

.activacion-header h2 {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.activacion-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

.activacion-grid .gallery-item img {
  height: 300px;
}

@media (max-width: 767px) {
  .galeria-section {
    padding: 90px 0 60px;
  }

  .marca-card {
    height: 380px;
  }

  .marca-name {
    font-size: 1.8rem;
  }

  .activacion-header h2 {
    font-size: 2rem;
  }

  .activacion-grid .gallery-item img {
    height: 240px;
  }
}