.hero {
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at bottom, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 8s ease-in-out infinite;
}

.hero-bg::before {
  top: -100px;
  right: -100px;
  background: rgba(6, 182, 212, 0.2);
}

.hero-bg::after {
  bottom: -100px;
  left: -100px;
  background: rgba(59, 130, 246, 0.2);
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px; /* Reducido de 1400px */
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text {
  text-align: left;
  max-width: 600px; /* Limitar ancho del texto */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 999px;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--color-text-dim);
  font-size: 0.875rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.hero-image img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  max-height: 500px; /* Reducido de 600px */
  border-radius: 20px;
  animation: floatImage 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(6, 182, 212, 0.4));
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* Si la imagen no carga, ocultar el contenedor */
.hero-image img:not([src]),
.hero-image img[src=""] {
  display: none;
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Responsive */
@media (max-width: 968px) {
  .hero { padding: 7rem 0 3rem; min-height: auto; }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    max-width: 800px;
  }
  .hero-text { text-align: center; order: 2; max-width: 100%; }
  .hero-image { order: 1; }
  .hero-image img { max-height: 400px; animation: none; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
}

@media (max-width: 768px) {
  .hero-content { padding: 0 1rem; gap: 2rem; }
  .hero-image img { max-height: 300px; }
  .hero-trust { flex-direction: column; align-items: center; gap: 1rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
}