/* ===========================
   01. HERO
=========================== */
#hero {
  min-height: 100vh;
  background: #1a0a3e url('../uploads/video/fondo3-poster.jpg') center / cover no-repeat;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
}
.hero-video-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 7, 45, 0.86) 0%, rgba(26, 10, 62, 0.66) 46%, rgba(26, 10, 62, 0.48) 100%),
    radial-gradient(circle at 18% 34%, rgba(255, 107, 26, 0.24), transparent 32%),
    radial-gradient(circle at 74% 18%, rgba(124, 58, 237, 0.34), transparent 38%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-1 { display: none; }
.hero-glow-2 { display: none; }
@keyframes glow-drift-1 {
  from { transform: translate(0, 0); }
  to   { transform: translate(60px, 40px); }
}
@keyframes glow-drift-2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-40px, -60px); }
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 74px 40px 96px;
  display: flex; flex-direction: column; align-items: flex-start;
  transform: translateY(-18px);
}
@media (max-width: 640px) {
  .hero-inner {
    padding: 64px 20px 78px;
    transform: translateY(-18px);
  }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.7); }
}
.hero-h1 {
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  max-width: 840px;
}
.hero-h1 .italic-word {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--orange);
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 620px;
}
.hero-ctas {
  display: flex; gap: 16px; align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  background: var(--grad-btn);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #fff;
  font-size: 16px; font-weight: 700;
  transition: background-position 0.4s, box-shadow 0.3s, transform 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 8px 32px rgba(107,31,184,0.5);
  transform: translateY(-2px);
}
.btn-secondary {
  font-size: 16px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.btn-secondary:hover { color: #fff; }
.btn-secondary svg { transition: transform 0.3s var(--ease-out); }
.btn-secondary:hover svg { transform: translateY(4px); }
.hero-logos {
  margin-top: 72px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}
.hero-logos-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  white-space: nowrap;
  text-align: center;
}
.hero-logos-divider {
  display: none;
}
.hero-logos-row {
  display: none;
}
.hero-logo-item {
  opacity: 0.45;
  transition: opacity 0.3s;
  filter: brightness(0) invert(1);
  height: 22px;
  display: flex; align-items: center;
}
.hero-logo-item img { height: 22px; width: auto; object-fit: contain; }
.hero-logo-item:hover { opacity: 0.7; }
/* Anthropic logo inline SVG */
.hero-logo-item.anthropic-logo svg { height: 18px; width: auto; fill: white; }

.client-logo-cloud {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 28px 0;
  border-block: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(90deg, rgba(26,10,62,0.95), rgba(26,10,62,0) 20%, rgba(26,10,62,0) 80%, rgba(26,10,62,0.95)),
    rgba(255,255,255,0.035);
  backdrop-filter: blur(10px);
}

.client-logo-cloud::before,
.client-logo-cloud::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 150px;
  height: 100%;
  pointer-events: none;
}

.client-logo-cloud::before {
  left: 0;
  background: linear-gradient(90deg, #1a0a3e 0%, rgba(26,10,62,0) 100%);
}

.client-logo-cloud::after {
  right: 0;
  background: linear-gradient(270deg, #1a0a3e 0%, rgba(26,10,62,0) 100%);
}

.client-logo-slider {
  overflow: hidden;
}

.client-logo-track {
  display: flex;
  width: max-content;
  animation: client-logo-marquee 62s linear infinite;
}

.client-logo-set {
  display: flex;
  align-items: center;
  gap: 66px;
  padding-right: 66px;
}

.client-logo-card {
  width: 260px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 260px;
}

.client-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.86;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,0.22));
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.client-logo-card-horizontal img {
  transform: scale(1.42);
}

.client-logo-card img:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.client-logo-card-horizontal img:hover {
  transform: translateY(-1px) scale(1.42);
}

@keyframes client-logo-marquee {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (max-width: 760px) {
  .hero-logos {
    margin-top: 54px;
    width: 100%;
    margin-left: 0;
  }

  .client-logo-cloud {
    padding: 18px 0;
  }

  .client-logo-cloud::before,
  .client-logo-cloud::after {
    width: 72px;
  }

  .client-logo-set {
    gap: 32px;
    padding-right: 32px;
  }

  .client-logo-card {
    width: 170px;
    height: 78px;
    flex-basis: 170px;
  }

  .client-logo-card-horizontal img {
    transform: scale(1.28);
  }

  .client-logo-card-horizontal img:hover {
    transform: translateY(-1px) scale(1.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo-track {
    animation: none;
    transform: translateX(0);
  }
}

@media (min-width: 900px) and (max-height: 780px) {
  .hero-inner {
    padding-top: 48px;
    padding-bottom: 42px;
    transform: translateY(-4px);
  }

  .hero-badge {
    margin-bottom: 20px;
  }

  .hero-h1 {
    font-size: clamp(36px, 4.7vw, 54px);
    max-width: 780px;
  }

  .hero-sub {
    margin-top: 18px;
    max-width: 600px;
  }

  .hero-ctas {
    margin-top: 30px;
  }

  .hero-logos {
    margin-top: 34px;
  }

  .client-logo-cloud {
    padding: 18px 0;
  }

  .client-logo-card {
    width: 230px;
    height: 104px;
    flex-basis: 230px;
  }

  .client-logo-card-horizontal img {
    transform: scale(1.34);
  }

  .client-logo-card-horizontal img:hover {
    transform: translateY(-1px) scale(1.34);
  }
}
