/* ============================================================
   COMPONENT: HeroLiquid — Fondo líquido animado + video dron
   Reutiliza: hero-dron.webm, estilo landing principal
   ============================================================ */

.svc-hero-liquid {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
  isolation: isolate;
}

.svc-hero-liquid__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.svc-liquid-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: blur(60px);
  will-change: transform, opacity;
  animation: svc-blob-float 20s ease-in-out infinite;
}

.svc-liquid-blob:nth-child(1) { width: 40vw; height: 40vw; top: -10vw; left: -10vw; background: radial-gradient(circle at 30% 30%, rgba(6,182,212,0.35), transparent 70%); animation-delay: 0s; animation-duration: 25s; }
.svc-liquid-blob:nth-child(2) { width: 35vw; height: 35vw; bottom: -15vw; right: -10vw; background: radial-gradient(circle at 70% 70%, rgba(0,102,255,0.25), transparent 70%); animation-delay: -5s; animation-duration: 30s; }
.svc-liquid-blob:nth-child(3) { width: 28vw; height: 28vw; top: 40%; left: 5%; background: radial-gradient(circle at 50% 50%, rgba(245,158,11,0.2), transparent 70%); animation-delay: -10s; animation-duration: 22s; }
.svc-liquid-blob:nth-child(4) { width: 32vw; height: 32vw; top: 15%; right: 8%; background: radial-gradient(circle at 40% 60%, rgba(37,211,102,0.15), transparent 70%); animation-delay: -15s; animation-duration: 28s; }
.svc-liquid-blob:nth-child(5) { width: 22vw; height: 22vw; bottom: 20%; left: 30%; background: radial-gradient(circle at 60% 40%, rgba(6,182,212,0.2), transparent 70%); animation-delay: -3s; animation-duration: 18s; }
.svc-liquid-blob:nth-child(6) { width: 18vw; height: 18vw; top: 60%; right: 20%; background: radial-gradient(circle at 50% 50%, rgba(0,102,255,0.18), transparent 70%); animation-delay: -8s; animation-duration: 24s; }
.svc-liquid-blob:nth-child(7) { width: 25vw; height: 25vw; bottom: 5%; right: 35%; background: radial-gradient(circle at 30% 70%, rgba(245,158,11,0.18), transparent 70%); animation-delay: -12s; animation-duration: 26s; }

@keyframes svc-blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25% { transform: translate(3vw, -2vw) scale(1.05); opacity: 0.8; }
  50% { transform: translate(-2vw, 3vw) scale(0.95); opacity: 0.5; }
  75% { transform: translate(1vw, 2vw) scale(1.02); opacity: 0.7; }
}

.svc-hero-liquid__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.svc-hero-liquid__content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.svc-hero-liquid__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.svc-hero-liquid__kicker {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0;
  animation: svc-fade-up 0.8s ease-out forwards;
}

.svc-hero-liquid__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: #fff;
  opacity: 0;
  animation: svc-fade-up 0.8s ease-out 0.1s forwards;
}

.svc-hero-liquid__title span {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--electric) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.svc-hero-liquid__subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 55ch;
  opacity: 0;
  animation: svc-fade-up 0.8s ease-out 0.2s forwards;
}

.svc-hero-liquid__proof {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--amber);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  width: fit-content;
  opacity: 0;
  animation: svc-fade-up 0.8s ease-out 0.3s forwards;
}

.svc-hero-liquid__proof::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: svc-pulse 2s ease-in-out infinite;
}

@keyframes svc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.svc-hero-liquid__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  opacity: 0;
  animation: svc-fade-up 0.8s ease-out 0.4s forwards;
}

.svc-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.svc-btn:active { transform: scale(0.98); }

.svc-btn--primary {
  background: var(--electric);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,102,255,0.3);
}

.svc-btn--primary:hover {
  background: #0052cc;
  box-shadow: 0 12px 40px rgba(0,102,255,0.4);
  transform: translateY(-2px);
}

.svc-btn--wa {
  background: #25D366;
  color: #0A0A0B;
  box-shadow: 0 8px 32px rgba(37,211,102,0.3);
}

.svc-btn--wa:hover {
  background: #1ebd5a;
  box-shadow: 0 12px 40px rgba(37,211,102,0.4);
  transform: translateY(-2px);
}

.svc-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.svc-btn--ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.6);
}

@keyframes svc-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Phone Mockup */
.svc-hero-liquid__phone {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 36px;
  background: #000;
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.05),
    0 32px 80px -12px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  transform: perspective(800px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.svc-hero-liquid__phone:hover {
  transform: perspective(800px) rotateY(0) rotateX(0);
}

.svc-phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}

.svc-phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.svc-phone-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}