/* ============================================================
   INTELECTA — CTA Aurora (redes sociales)
   ============================================================ */

.final-cta {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.cta-aurora {
  --cta-aurora-gray: #08163a;
  --cta-aurora-white: #eea410;
  --cta-aurora-muted: rgba(255, 255, 255, 0.6);
  --cta-aurora-muted-soft: rgba(255, 255, 255, 0.7);
  --cta-aurora-border: rgba(255, 255, 255, 0.1);
  --cta-aurora-hero-shadow:
    0 1px 2px rgba(0, 0, 0, 0.16),
    0 6px 20px rgba(0, 0, 0, 0.2);
  --cta-aurora-hero-shadow-soft:
    0 1px 3px rgba(0, 0, 0, 0.14),
    0 4px 14px rgba(0, 0, 0, 0.16);

  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: clamp(1.25rem, 2.5vw, 1.75rem);
  background: #213466;
  color: var(--cta-aurora-white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.55);
  padding: 0.5rem;
  min-height: min(92vh, 860px);
}

.cta-aurora::after {
  display: none;
}

.cta-aurora-layout {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

@media (min-width: 1024px) {
  .cta-aurora {
    padding: 1rem;
    min-height: min(88vh, 820px);
  }

  .cta-aurora-layout {
    flex-direction: row;
    align-items: stretch;
    min-height: 0;
  }
}

/* —— Hero (video) —— */
.cta-aurora-hero {
  display: none;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.65);
}

@media (min-width: 1024px) {
  .cta-aurora-hero {
    display: flex;
    flex: 0 0 52%;
    width: 52%;
    min-height: 100%;
    align-self: stretch;
    padding: clamp(2.5rem, 5vh, 3.5rem) 3rem 2rem;
  }
}

.cta-aurora-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #0a1228;
  pointer-events: none;
}

.cta-aurora-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 18rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 0;
}

.cta-aurora-brand {
  display: block;
  width: 100%;
}

.cta-aurora-brand-wordmark-wrap {
  display: block;
  width: clamp(8rem, 14vw, 11rem);
  line-height: 0;
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.2));
}

.cta-aurora-brand-wordmark-wrap .brand-wordmark,
.cta-aurora-brand-wordmark-wrap .cta-aurora-brand-wordmark {
  width: 100%;
  height: auto;
  display: block;
  color: inherit;
}

.cta-aurora-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cta-aurora-hero-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--cta-aurora-white);
  white-space: nowrap;
  text-shadow: var(--cta-aurora-hero-shadow);
}

.cta-aurora-hero-desc {
  margin: 0;
  padding-inline: 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--cta-aurora-muted-soft);
  text-shadow: var(--cta-aurora-hero-shadow-soft);
}

.cta-aurora-stagger-item {
  opacity: 0;
  transform: translateY(10px);
}

.cta-aurora.in .cta-aurora-stagger-item {
  animation: ctaAuroraFadeUp 0.5s ease forwards;
  animation-delay: calc(0.2s + var(--stagger, 0) * 0.15s);
}

@keyframes ctaAuroraFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Panel redes —— */
.cta-aurora-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 1rem;
  overflow-y: auto;
  min-height: 0;
  position: relative;
}

@media (min-width: 640px) {
  .cta-aurora-panel {
    padding: 3rem 3rem;
  }
}

@media (min-width: 1024px) {
  .cta-aurora-panel {
    align-self: stretch;
    min-height: 100%;
    padding: 1.5rem 4rem;
  }
}

@media (min-width: 1280px) {
  .cta-aurora-panel {
    padding-inline: 6rem;
  }
}

.cta-aurora-panel-inner {
  width: 100%;
  max-width: 36rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.cta-aurora.in .cta-aurora-panel-inner {
  animation: ctaAuroraPanelIn 0.8s ease-out forwards;
}

@keyframes ctaAuroraPanelIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cta-aurora-panel-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-aurora-panel-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--cta-aurora-white);
}

.cta-aurora-panel-subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: var(--cta-aurora-muted);
  line-height: 1.5;
}

.cta-aurora-social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-aurora-social-empty {
  margin: 0;
  padding: 1rem 0.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--cta-aurora-muted-soft);
}

.cta-aurora-social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 0.875rem;
  background: var(--cta-aurora-gray);
  border: 1px solid var(--cta-aurora-border);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.cta-aurora-social-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.cta-aurora-social-link:active {
  transform: scale(0.99);
}

.cta-aurora-social-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  color: #ffffff;
}

.cta-aurora-social-link-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #ffffff;
}

.cta-aurora-social-link-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.cta-aurora-social-link-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

.cta-aurora-social-link-handle {
  font-size: 0.78rem;
  color: var(--cta-aurora-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cta-aurora-social-link-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease, transform 0.2s ease;
}

.cta-aurora-social-link:hover .cta-aurora-social-link-arrow {
  color: #ffffff;
  transform: translate(2px, -2px);
}

@media (prefers-reduced-motion: reduce) {
  .cta-aurora-stagger-item,
  .cta-aurora-panel-inner {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
