/* ═══════════════════════════════════════════════════
   SUNRISE AUTOMATIZACIONES — Design System
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --bg-dark:    #1A0035;
  --bg-darker:  #0F0020;
  --indigo:     #4B0082;
  --purple:     #7B2FBE;
  --violet:     #9B30FF;
  --violet-dim: rgba(155,48,255,0.15);
  --violet-glow:rgba(155,48,255,0.35);
  --white:      #FFFFFF;
  --gray-light: #F5F5F5;
  --gray-mid:   #E8E8E8;
  --near-black: #0D0D0D;
  --text-dark:  #1A1A2E;
  --text-muted: #6B6B8A;
  --border:     rgba(155,48,255,0.2);
  --border-light: rgba(0,0,0,0.08);

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);

  --container: 1160px;
  --nav-h: 72px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--near-black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION BASE ── */
.section { padding: 96px 0; }
.section--dark { background: var(--bg-dark); color: var(--white); }
.section--gray { background: var(--gray-light); }
.section--white { background: var(--white); }

.section__tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  padding: 4px 12px;
  border: 1px solid rgba(155,48,255,0.35);
  border-radius: 100px;
  margin-bottom: 16px;
}
.section--dark .section__tag {
  border-color: rgba(155,48,255,0.5);
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}
.section--dark .section__sub { color: rgba(255,255,255,0.6); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--purple {
  background: var(--purple);
  color: var(--white);
}
.btn--purple:hover {
  background: var(--violet);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(155,48,255,0.4);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
}
.btn--outline-dark {
  background: transparent;
  color: var(--purple);
  border: 1px solid rgba(123,47,190,0.35);
}
.btn--outline-dark:hover {
  border-color: var(--purple);
  background: var(--violet-dim);
}
.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
#nav.scrolled {
  background: rgba(10,0,22,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(155,48,255,0.15);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-img {
  display: inline-block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(1) sepia(1) saturate(6) hue-rotate(245deg) brightness(0.85) drop-shadow(0 0 10px rgba(155,48,255,0.8));
  animation: logo-glow 4s ease-in-out infinite;
}
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(155,48,255,0.55)); }
  50%       { filter: drop-shadow(0 0 20px rgba(155,48,255,1)) drop-shadow(0 0 6px rgba(200,132,252,0.7)); }
}
.nav__logo-text {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.nav__logo-text span {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}
.nav__links a:hover { color: var(--white); }
.nav__cta { margin-left: 8px; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}

/* Noise texture overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
  opacity: 0.4;
  pointer-events: none;
}

/* Radial glow from bottom-right */
#hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(75,0,130,0.5) 0%, transparent 65%);
  pointer-events: none;
}

#particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(155,48,255,0.1);
  border: 1px solid rgba(155,48,255,0.3);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--violet);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  color: var(--violet);
}

.hero__sub {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.hero__microcopy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.hero__trust-icon {
  font-size: 1rem;
}

/* Workflow SVG illustration */
.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}
.workflow-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(155,48,255,0.2);
  background: rgba(26,0,53,0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 0 48px rgba(155,48,255,0.18), inset 0 0 60px rgba(75,0,130,0.1);
}
.workflow-svg {
  width: 100%;
  display: block;
}

/* ════════════════════════════════════════════════════
   PROBLEMA
════════════════════════════════════════════════════ */
#problema .section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
#problema .section__header {
  position: sticky;
  top: 100px;
}
.pain-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pain-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.pain-item:first-child { border-top: 1px solid var(--border-light); }
.pain-icon {
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.pain-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
}
.pain-remate {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--near-black);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  border-left: 3px solid var(--violet);
}

/* ════════════════════════════════════════════════════
   SERVICIOS
════════════════════════════════════════════════════ */
#servicios .section__header {
  text-align: center;
  margin-bottom: 56px;
}
#servicios .section__sub { margin: 0 auto; text-align: center; }

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--violet));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(123,47,190,0.3);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--violet-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.service-card__title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--near-black);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}
.service-card__list li {
  font-size: 0.85rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--violet);
  border-radius: 50%;
  flex-shrink: 0;
}
.service-card__price {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple);
  background: var(--violet-dim);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.service-combo {
  background: var(--near-black);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--white);
}
.service-combo__badge {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.service-combo__text {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}
.service-combo__text strong {
  color: var(--violet);
}

/* ════════════════════════════════════════════════════
   ANTES / DESPUÉS
════════════════════════════════════════════════════ */
#antes-despues {
  position: relative;
  overflow: hidden;
}
#antes-despues::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(75,0,130,0.4) 0%, transparent 65%);
  pointer-events: none;
}
#antes-despues .section__header {
  text-align: center;
  margin-bottom: 56px;
}
#antes-despues .section__sub { margin: 0 auto; text-align: center; }

.ad-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ad-table thead tr th {
  padding: 16px 28px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ad-table thead .th-antes {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ad-table thead .th-despues {
  background: var(--violet-dim);
  color: var(--violet);
  text-align: left;
  border-bottom: 1px solid rgba(155,48,255,0.25);
  border-left: 2px solid var(--violet);
}
.ad-table tbody tr td {
  padding: 18px 28px;
  font-size: 0.92rem;
  line-height: 1.55;
  vertical-align: middle;
}
.ad-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.td-antes {
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.5);
}
.td-despues {
  background: rgba(155,48,255,0.07);
  color: rgba(255,255,255,0.9);
  border-left: 2px solid rgba(155,48,255,0.3);
  font-weight: 500;
}
.ad-note {
  margin-top: 32px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

/* ════════════════════════════════════════════════════
   PROCESO
════════════════════════════════════════════════════ */
#proceso .section__header {
  text-align: center;
  margin-bottom: 64px;
}
#proceso .section__sub { margin: 0 auto; text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--violet) 0%, rgba(155,48,255,0.2) 100%);
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--violet);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
  box-shadow: 0 0 0 6px rgba(155,48,255,0.07);
}
.step:hover .step__num {
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 0 0 8px rgba(155,48,255,0.12), 0 8px 24px rgba(155,48,255,0.35);
}
.step__icon { font-size: 1.3rem; margin-bottom: 12px; }
.step__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════
   COMPARATIVA
════════════════════════════════════════════════════ */
#comparativa .section__header {
  text-align: center;
  margin-bottom: 48px;
}
#comparativa .section__sub { margin: 0 auto; text-align: center; }

.comp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.comp-table th, .comp-table td {
  padding: 16px 24px;
  text-align: center;
  font-size: 0.88rem;
}
.comp-table thead tr {
  border-bottom: 1px solid var(--border-light);
}
.comp-table thead th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--near-black);
}
.comp-table thead th:first-child { text-align: left; }
.comp-table thead .th-sunrise {
  background: var(--violet-dim);
  color: var(--purple);
  border-bottom: 2px solid var(--violet);
}
.comp-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--border-light);
}
.comp-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.015); }
.comp-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--near-black);
}
.comp-table .td-sunrise {
  background: rgba(155,48,255,0.04);
  font-weight: 600;
  color: var(--purple);
}
.comp-yes { color: #16a34a; font-size: 1.1rem; }
.comp-no  { color: #dc2626; font-size: 1.1rem; }
.comp-maybe { color: #d97706; font-size: 0.82rem; font-weight: 500; }

.comp-note {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--near-black);
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
  border-left: 3px solid var(--violet);
}
.comp-note strong { color: var(--violet); }

/* ════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════ */
#faq .section__header {
  text-align: center;
  margin-bottom: 48px;
}
#faq .section__sub { margin: 0 auto; text-align: center; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--near-black);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--purple); }
.faq-q.active { color: var(--purple); }
.faq-chevron {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.faq-q.active .faq-chevron {
  background: var(--violet-dim);
  border-color: rgba(155,48,255,0.3);
  color: var(--violet);
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
.faq-a.open {
  max-height: 300px;
}
.faq-a-inner {
  padding: 0 0 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ════════════════════════════════════════════════════
   CONTACTO (CTA FINAL)
════════════════════════════════════════════════════ */
#contacto {
  background: linear-gradient(145deg, var(--bg-darker) 0%, var(--bg-dark) 40%, var(--indigo) 100%);
  position: relative;
  overflow: hidden;
}
#contacto::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(155,48,255,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.contact__text .section__title { color: var(--white); }
.contact__title-accent { color: var(--violet); }
.contact__body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 24px;
}
.contact__signature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.contact__signature::before {
  content: '—';
  color: var(--violet);
}

.contact__form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(155,48,255,0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(8px);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--violet);
}
.form-group textarea {
  resize: vertical;
  min-height: 90px;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--violet);
}
.form-consent a { color: rgba(155,48,255,0.8); text-decoration: underline; }
.form-btn { width: 100%; }
.form-microcopy {
  margin-top: 12px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}
.form-success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.form-success h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.form-success p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* ════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(155,48,255,0.12);
  padding: 48px 0 32px;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__logo-mark {
  display: inline-block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(1) sepia(1) saturate(6) hue-rotate(245deg) brightness(0.7);
  opacity: 0.75;
}
.footer__logo-text {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
}
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer__links a:hover { color: rgba(255,255,255,0.7); }
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  transition: all var(--transition);
}
.footer__social a:hover {
  background: var(--violet-dim);
  border-color: rgba(155,48,255,0.4);
  color: var(--violet);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}
.footer__legal {
  display: flex;
  gap: 16px;
}
.footer__legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
  transition: color var(--transition);
}
.footer__legal a:hover { color: rgba(255,255,255,0.5); }

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 440px; margin: 0 auto; }
  #problema .section__inner { grid-template-columns: 1fr; gap: 40px; }
  #problema .section__header { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps::before { display: none; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav__links { display: none; flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav__links.open {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,0,22,0.97);
    backdrop-filter: blur(16px);
    padding: 20px 24px 28px;
    border-bottom: 1px solid rgba(155,48,255,0.15);
  }
  .nav__links a { padding: 10px 0; font-size: 1rem; color: rgba(255,255,255,0.75); }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { gap: 16px; }
  .services__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.3rem; }
  .hero__trust { flex-direction: column; gap: 12px; }
  .service-combo { flex-direction: column; text-align: center; }
  .ad-table { font-size: 0.82rem; }
  .ad-table thead th, .ad-table tbody td { padding: 12px 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero__inner { padding: 48px 0; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .contact__form { padding: 24px; }
  .service-card { padding: 24px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; }
}

/* ════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
════════════════════════════════════════════════════ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--violet));
  z-index: 200;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(155,48,255,0.6);
}

/* ════════════════════════════════════════════════════
   HERO — AURORA ANIMADA + FLOATING CARDS
════════════════════════════════════════════════════ */
#hero {
  background-image: none;
  background: var(--bg-dark);
}
#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
#hero-video.playing {
  opacity: 0.55;
}
#hero::after {
  animation: none;
  background: linear-gradient(170deg, rgba(10,0,25,0.82) 0%, rgba(26,0,53,0.65) 50%, rgba(10,0,25,0.78) 100%);
}

.hero__floating-cards {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  justify-content: center;
}
.hero__float-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(155,48,255,0.25);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(12px);
  animation: float-card 3s ease-in-out infinite;
  white-space: nowrap;
}
.hero__float-card:nth-child(2) { animation-delay: 1s; }
.hero__float-card:nth-child(3) { animation-delay: 2s; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero__float-icon {
  width: 32px;
  height: 32px;
  background: var(--violet-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero__float-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.01em;
}
.hero__float-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-top: 1px;
}

/* Hero badge shimmer */
.hero__badge {
  position: relative;
  overflow: hidden;
}
.hero__badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  animation: badge-shimmer 3s ease-in-out infinite;
}
@keyframes badge-shimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* Button shimmer */
.btn--purple {
  position: relative;
  overflow: hidden;
}
.btn--purple::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: none;
}
.btn--purple:hover::after {
  left: 150%;
  transition: left 0.5s ease;
}

/* ════════════════════════════════════════════════════
   INTEGRACIONES
════════════════════════════════════════════════════ */
#integraciones {
  background: var(--white);
  padding: 72px 0;
  overflow: hidden;
}
#integraciones .section__header {
  text-align: center;
  margin-bottom: 48px;
}
#integraciones .section__sub { margin: 0 auto; text-align: center; }

.integrations__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
/* Marquee layout (reemplaza grid) */
.integrations__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.integrations__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee-fwd 28s linear infinite;
  will-change: transform;
}
.integrations__track--reverse {
  animation: marquee-rev 32s linear infinite;
}
.integrations__marquee:hover .integrations__track,
.integrations__marquee:hover .integrations__track--reverse {
  animation-play-state: paused;
}
@keyframes marquee-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .integrations__track,
  .integrations__track--reverse { animation: none; }
}
.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.integration-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--violet-dim);
  opacity: 0;
  transition: opacity var(--transition);
}
.integration-item:hover {
  border-color: rgba(155,48,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(155,48,255,0.1);
}
.integration-item:hover::before { opacity: 1; }
.integration-item:hover .integration-icon { filter: none; }
.integration-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
}
.integration-item:hover .integration-icon { transform: scale(1.15); }
.integration-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}
.integration-item:hover .integration-name { color: var(--purple); }

/* ════════════════════════════════════════════════════
   TESTIMONIOS
════════════════════════════════════════════════════ */
#testimonios {
  background: var(--bg-dark);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
#testimonios::before {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(75,0,130,0.4) 0%, transparent 65%);
  pointer-events: none;
}
#testimonios .section__header {
  text-align: center;
  margin-bottom: 56px;
}
#testimonios .section__sub { margin: 0 auto; text-align: center; }

.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}
.testimonio-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(155,48,255,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.testimonio-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(155,48,255,0.12);
  pointer-events: none;
}
.testimonio-card:hover {
  border-color: rgba(155,48,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(155,48,255,0.15);
}
.testimonio-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}
.testimonio-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonio-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonio-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.testimonio-info {
  display: flex;
  flex-direction: column;
}
.testimonio-name {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}
.testimonio-role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ════════════════════════════════════════════════════
   STICKY CTA BAR
════════════════════════════════════════════════════ */
#sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(10,0,22,0.95);
  border-top: 1px solid rgba(155,48,255,0.2);
  backdrop-filter: blur(16px);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#sticky-cta.visible {
  transform: translateY(0);
}
.sticky-cta__text {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.sticky-cta__text span {
  color: var(--violet);
}

#whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 95;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
#whatsapp-float svg {
  width: 28px;
  height: 28px;
}
@media (max-width: 480px) {
  #whatsapp-float { right: 14px; bottom: 78px; width: 50px; height: 50px; }
  #whatsapp-float svg { width: 25px; height: 25px; }
}

/* ════════════════════════════════════════════════════
   FOOTER — 4 COLUMNS
════════════════════════════════════════════════════ */
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__col-title {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}
.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__col-links a:hover { color: rgba(255,255,255,0.8); }
.footer__tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 240px;
}
.footer__social-icons {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer__social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer__social-icons a:hover {
  background: var(--violet-dim);
  border-color: rgba(155,48,255,0.4);
}
.footer__social-icons svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.5);
  transition: fill var(--transition);
}
.footer__social-icons a:hover svg { fill: var(--violet); }

/* Texto muted mejorado */
.hero__microcopy { color: rgba(255,255,255,0.5); }
.hero__trust-item { color: rgba(255,255,255,0.7); }
.section__sub { color: #555570; }
.section--dark .section__sub { color: rgba(255,255,255,0.65); }
.ad-note { color: rgba(255,255,255,0.6); }

/* ════════════════════════════════════════════════════
   RESPONSIVE — NUEVAS SECCIONES
════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__floating-cards { flex-wrap: wrap; }
  .integrations__grid { grid-template-columns: repeat(4, 1fr); }
  .testimonios__grid { grid-template-columns: 1fr; gap: 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .integrations__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  #sticky-cta .sticky-cta__text { display: none; }
}
@media (max-width: 480px) {
  .integrations__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ════════════════════════════════════════════════════
   CANVAS PARTICLES (reemplaza #particles)
════════════════════════════════════════════════════ */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ════════════════════════════════════════════════════
   METRICAS
════════════════════════════════════════════════════ */
#metricas {
  background: var(--bg-darker);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.metricas__accent-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
}
.metricas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.metrica-item {
  padding: 28px 16px;
  border-right: 1px solid rgba(155,48,255,0.12);
}
.metrica-item:last-child { border-right: none; }
.metrica-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--violet);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.metrica-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .metricas__grid { grid-template-columns: repeat(2, 1fr); }
  .metrica-item:nth-child(2) { border-right: none; }
  .metrica-item:nth-child(1),
  .metrica-item:nth-child(2) { border-bottom: 1px solid rgba(155,48,255,0.12); }
}
@media (max-width: 480px) {
  .metricas__grid { grid-template-columns: 1fr; }
  .metrica-item { border-right: none; border-bottom: 1px solid rgba(155,48,255,0.12); }
  .metrica-item:last-child { border-bottom: none; }
}

/* ════════════════════════════════════════════════════
   INTEGRATION TOOLTIPS
════════════════════════════════════════════════════ */
.integration-item {
  overflow: visible;
}
.integration-item::before {
  border-radius: var(--radius);
}
.integration-item[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--near-black);
  color: rgba(255,255,255,0.88);
  font-size: 0.68rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(155,48,255,0.25);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.integration-item:hover[data-tooltip]::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (pointer: coarse) {
  .integration-item[data-tooltip]::after { display: none; }
}

/* ════════════════════════════════════════════════════
   3D TILT CARDS
════════════════════════════════════════════════════ */
.service-card,
.testimonio-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ════════════════════════════════════════════════════
   BUTTON RIPPLE
════════════════════════════════════════════════════ */
.btn { overflow: hidden; }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  transform: scale(0);
  animation: ripple-expand 0.55s cubic-bezier(0.4,0,0.2,1) forwards;
  pointer-events: none;
}
@keyframes ripple-expand {
  to { transform: scale(4); opacity: 0; }
}

/* ════════════════════════════════════════════════════
   CUSTOM CURSOR
════════════════════════════════════════════════════ */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"], label[for] { cursor: none; }
  input, textarea, select { cursor: text; }

  .cursor-dot {
    position: fixed;
    top: -3px; left: -3px;
    width: 6px; height: 6px;
    background: var(--white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
  }
  .cursor-ring {
    position: fixed;
    top: -16px; left: -16px;
    width: 32px; height: 32px;
    border: 1.5px solid rgba(155,48,255,0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.2s, height 0.2s, border-color 0.2s, opacity 0.2s, top 0s, left 0s;
    will-change: transform;
    box-shadow: 0 0 12px rgba(155,48,255,0.2), inset 0 0 8px rgba(155,48,255,0.06);
  }
  .cursor-ring.hovered {
    width: 48px; height: 48px;
    border-color: rgba(155,48,255,0.85);
    box-shadow: 0 0 22px rgba(155,48,255,0.38), inset 0 0 14px rgba(155,48,255,0.1);
  }
  .cursor-dot.hidden,
  .cursor-ring.hidden { opacity: 0; }
}

/* ════════════════════════════════════════════════════
   HERO EM — TEXTO GRADIENTE ANIMADO
════════════════════════════════════════════════════ */
.hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, #9B30FF, #C084FC, #e8c8ff, #9B30FF);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 4s linear infinite;
}
@keyframes gradient-flow {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title em { animation: none; background: var(--violet); }
}

/* ════════════════════════════════════════════════════
   HERO — STAGGER ENTRANCE (clase añadida por JS)
════════════════════════════════════════════════════ */
.hero__badge,
.hero__title,
.hero__sub,
.hero__actions,
.hero__microcopy,
.hero__trust {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
body.hero-loaded .hero__badge  { opacity:1; transform:none; transition-delay:0.05s; }
body.hero-loaded .hero__title  { opacity:1; transform:none; transition-delay:0.15s; }
body.hero-loaded .hero__sub    { opacity:1; transform:none; transition-delay:0.28s; }
body.hero-loaded .hero__actions{ opacity:1; transform:none; transition-delay:0.38s; }
body.hero-loaded .hero__microcopy{ opacity:1; transform:none; transition-delay:0.46s; }
body.hero-loaded .hero__trust  { opacity:1; transform:none; transition-delay:0.54s; }
.hero__visual {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1) 0.3s, transform 0.9s cubic-bezier(0.22,1,0.36,1) 0.3s;
}
body.hero-loaded .hero__visual { opacity:1; transform:none; }

/* ════════════════════════════════════════════════════
   CTA PRINCIPAL — RING PULSE
════════════════════════════════════════════════════ */
.btn--purple.btn--lg {
  position: relative;
}
.btn--purple.btn--lg::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 2px solid rgba(155,48,255,0.55);
  animation: cta-ring 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cta-ring {
  0%,100% { transform: scale(1);    opacity: 0.6; }
  50%      { transform: scale(1.06); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn--purple.btn--lg::before { animation: none; }
}

/* ════════════════════════════════════════════════════
   SERVICE CARDS — ANIMATED GLOW BORDER
════════════════════════════════════════════════════ */
@property --card-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.service-card {
  --card-angle: 0deg;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: conic-gradient(from var(--card-angle), transparent 60%, rgba(155,48,255,0.55) 72%, rgba(192,132,252,0.6) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  animation: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::after { opacity: 1; animation: card-border-spin 1.5s linear infinite; }
@keyframes card-border-spin {
  to { --card-angle: 360deg; }
}

/* ════════════════════════════════════════════════════
   INTEGRATION ITEMS — ajuste tamaño en marquee
════════════════════════════════════════════════════ */
.integrations__track .integration-item {
  min-width: 100px;
  flex-shrink: 0;
  animation: none;
}

/* ════════════════════════════════════════════════════
   HERO FLOATING CARDS — GRADIENT GLOW
════════════════════════════════════════════════════ */
.hero__float-card {
  box-shadow: 0 4px 24px rgba(155,48,255,0.15), 0 0 0 1px rgba(155,48,255,0.15);
}
.hero__float-card:hover {
  box-shadow: 0 8px 32px rgba(155,48,255,0.3), 0 0 0 1px rgba(155,48,255,0.3);
  transform: translateY(-8px);
}

/* ════════════════════════════════════════════════════
   WORKFLOW SVG — PULSO EN NODOS
════════════════════════════════════════════════════ */
.workflow-wrap {
  position: relative;
}
.workflow-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: conic-gradient(from var(--card-angle), transparent 65%, rgba(155,48,255,0.4) 75%, transparent 85%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  animation: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.workflow-wrap:hover::before {
  opacity: 1;
  animation: card-border-spin 2s linear infinite;
}

/* ════════════════════════════════════════════════════
   SECCIÓN TAGS — COLOR GRADIENT
════════════════════════════════════════════════════ */
.section__tag {
  background: linear-gradient(135deg, rgba(155,48,255,0.15), rgba(123,47,190,0.25));
  border-color: rgba(155,48,255,0.35);
}

/* ════════════════════════════════════════════════════
   PROCESO STEPS — CONECTOR ANIMADO
════════════════════════════════════════════════════ */
.proceso__connector {
  background: linear-gradient(90deg, var(--violet), rgba(155,48,255,0.2));
  background-size: 200% 100%;
  animation: connector-flow 3s linear infinite;
}
@keyframes connector-flow {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ════════════════════════════════════════════════════
   NAV scrolled — vidrio mejorado
════════════════════════════════════════════════════ */
#nav.scrolled {
  box-shadow: 0 2px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(155,48,255,0.1);
}
