/* TRAFIKHUB — layout público (dark-luxe, alineado con SPA) */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-feature-settings: 'ss01' on, 'cv01' on;
}

::selection {
  background: rgba(45, 212, 191, 0.18);
  color: #fff;
}

.site-wrap {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .site-wrap { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 1024px) {
  .site-wrap { padding-left: 2.5rem; padding-right: 2.5rem; }
}

.section-block {
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid rgba(39, 39, 42, 0.8);
}

@media (min-width: 640px) {
  .section-block { padding-top: 5rem; padding-bottom: 5rem; }
}

@media (min-width: 1024px) {
  .section-block { padding-top: 6rem; padding-bottom: 6rem; }
}

.hero-dark {
  position: relative;
  background: #09090b;
  border-bottom: 1px solid rgba(39, 39, 42, 0.8);
  overflow: hidden;
}

.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(45, 212, 191, 0.06), transparent 60%);
  pointer-events: none;
}

.hero-dark .hero-mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-dark .hero-mesh-blob--1 {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -10%;
  left: -5%;
  background: rgba(45, 212, 191, 0.1);
  animation: mesh-float-1 14s ease-in-out infinite alternate;
}

.hero-dark .hero-mesh-blob--2 {
  width: min(45vw, 400px);
  height: min(45vw, 400px);
  top: 15%;
  right: -8%;
  background: rgba(255, 255, 255, 0.04);
  animation: mesh-float-2 18s ease-in-out infinite alternate;
}

@keyframes mesh-float-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(4%, 6%) scale(1.08); }
}

@keyframes mesh-float-2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-6%, 4%); }
}

.section-watermark {
  position: absolute;
  top: -1rem;
  left: 0;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 1;
  color: rgba(250, 250, 250, 0.04);
  pointer-events: none;
  user-select: none;
}

.compare-block {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(39, 39, 42, 0.8);
  border-bottom: 1px solid rgba(39, 39, 42, 0.8);
  background: rgba(24, 24, 27, 0.5);
}

.compare-grid {
  display: grid;
  gap: 1px;
  background: #27272a;
}

@media (min-width: 1024px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
    position: relative;
  }

  .compare-grid::after {
    content: '→';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    color: #2dd4bf;
    background: #09090b;
    border: 1px solid rgba(45, 212, 191, 0.35);
  }
}

.compare-x {
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #27272a;
  color: #71717a;
  flex-shrink: 0;
}

.compare-check {
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  background: rgba(45, 212, 191, 0.15);
  color: #2dd4bf;
  font-weight: 700;
  flex-shrink: 0;
}

.compare-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.8), transparent);
}

.capabilities-rail {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(39, 39, 42, 0.8);
  overflow: hidden;
}

.capabilities-rail__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  padding-left: max(1.25rem, calc((100vw - 1320px) / 2 + 1.25rem));
  padding-right: 1.25rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.capabilities-rail__track::-webkit-scrollbar { display: none; }

.capabilities-rail__card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 280px;
  min-height: 180px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.grid-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #71717a;
}

.headline-display {
  font-family: 'Schibsted Grotesk', 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fafafa;
}

.headline-display .accent-line {
  display: inline-block;
  position: relative;
}

.headline-display .accent-line::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 3px;
  background: rgba(45, 212, 191, 0.75);
}

.headline-section {
  font-family: 'Schibsted Grotesk', 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fafafa;
}

.copy-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #a1a1aa;
  max-width: 58ch;
}

@media (min-width: 640px) {
  .copy-body { font-size: 1.125rem; }
}

.surface-panel {
  background: #111113;
  border: 1px solid #27272a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 80px -40px rgba(0, 0, 0, 0.8);
}

.surface-panel-elevated {
  background: #18181b;
  border: 1px solid rgba(63, 63, 70, 0.4);
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.65);
}

.card-hover {
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}

.card-hover:hover {
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-2px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #09090b;
  background: #fafafa;
  transition: background 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: btn-shine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shine {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.btn-primary:hover {
  background: #e4e4e7;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fafafa;
  background: transparent;
  border: 1px solid #3f3f46;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: #a1a1aa;
  background: rgba(255, 255, 255, 0.03);
}

.input-field {
  width: 100%;
  border: 1px solid #27272a;
  border-radius: 2px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #fafafa;
  background: #09090b;
  transition: border-color 0.25s, box-shadow 0.35s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.input-field:hover { border-color: #3f3f46; }

.input-field:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.5);
  transform: translateY(-1px);
}

.input-field::placeholder { color: #71717a; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.breadcrumb a {
  color: #2dd4bf;
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb span[aria-hidden] { color: #52525b; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.8125rem;
}

@media (min-width: 640px) {
  .breadcrumb__list { margin-bottom: 2rem; }
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb__item:not(:last-child)::after {
  content: '›';
  color: #52525b;
  font-size: 0.875rem;
}

.breadcrumb__link {
  color: #a1a1aa;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}

.breadcrumb__link:hover {
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.08);
}

.breadcrumb__current {
  color: #fafafa;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border: 1px solid #27272a;
  background: rgba(17, 17, 19, 0.8);
  border-radius: 2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 404 */
.not-found__code {
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  opacity: 0.35;
}

/* Scroll to top */
.scroll-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 30;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #27272a;
  background: rgba(17, 17, 19, 0.95);
  color: #a1a1aa;
  font-size: 1.125rem;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.scroll-to-top:hover {
  border-color: rgba(45, 212, 191, 0.4);
  color: #2dd4bf;
  transform: translateY(-2px);
}

.scroll-to-top.hidden {
  display: none !important;
}

@media (min-width: 640px) {
  .scroll-to-top {
    bottom: 6.5rem;
    right: 2rem;
  }
}

.mun-card.is-hidden {
  display: none !important;
}

/* Listado largo de municipios: visible sin esperar animación scroll */
.mun-grid .mun-card {
  opacity: 1;
  transform: none;
}

.hairline {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #3f3f46, transparent);
}

.hairline {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #3f3f46, transparent);
}

/* Nav underline (header PHP) */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: #2dd4bf;
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  animation: sticky-cta-in 0.35s ease-out;
}

.sticky-cta[hidden] {
  display: none !important;
}

.sticky-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .sticky-cta { padding: 1.25rem; }
  .sticky-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.sticky-cta__copy {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.sticky-cta__sub {
  color: #a1a1aa;
}

@media (max-width: 639px) {
  .sticky-cta__sub { display: none; }
  .sticky-cta__inner { gap: 0.75rem; }
  .sticky-cta__actions { width: 100%; }
  .sticky-cta__actions .btn-primary,
  .sticky-cta__actions a { flex: 1; justify-content: center; min-height: 2.75rem; }
}

.sticky-cta__pulse {
  position: relative;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2dd4bf;
}

.sticky-cta__pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #2dd4bf;
  animation: sticky-pulse 1.5s ease-out infinite;
}

@keyframes sticky-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

.sticky-cta__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sticky-cta__close {
  padding: 0.5rem;
  color: #71717a;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.sticky-cta__close:hover { color: #fafafa; }

@keyframes sticky-cta-in {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

/* Article inline CTA */
.article-cta__inner {
  padding: 1.75rem 2rem;
}

.article-cta__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .article-cta__grid {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
  }
}

.skip-link {
  position: absolute;
  top: -2.5rem;
  left: 0.5rem;
  padding: 0.5rem 1rem;
  background: #fafafa;
  color: #09090b;
  font-weight: 600;
  border-radius: 2px;
  z-index: 100;
  transition: top 0.2s;
}

.skip-link:focus { top: 0.5rem; }

.logo-wordmark {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.24em;
  line-height: 1;
}

/* Header — wordmark + menú reducido */
#site-header.hub-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.hub-header--home {
  border-bottom: 1px solid transparent;
  background: transparent;
}

.hub-header--solid {
  border-bottom: 1px solid rgba(39, 39, 42, 0.9);
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.45);
}

.brand-wordmark {
  display: inline-block;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1;
  color: #fafafa;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease, font-size 0.25s ease, letter-spacing 0.25s ease;
}

.brand-wordmark:hover {
  opacity: 0.9;
}

.brand-wordmark--hero {
  font-size: 1.125rem;
  letter-spacing: 0.2em;
}

@media (min-width: 640px) {
  .brand-wordmark--hero {
    font-size: 1.25rem;
    letter-spacing: 0.22em;
  }
}

@media (min-width: 1024px) {
  .brand-wordmark--hero {
    font-size: 1.55rem;
  }
}

.hub-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hub-header__inner--hero {
  min-height: 3.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .hub-header__inner--hero {
    min-height: 4.25rem;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
  }
}

/* Header responsive — no depende de utilidades lg:/sm: de Tailwind */
.hub-header__nav {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.hub-header__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .hub-header__actions {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .hub-header__nav {
    display: flex;
  }

  .hub-header__menu-btn {
    display: none;
  }

  #mobile-nav-menu.mobile-nav-drawer:not(.is-open) {
    display: none !important;
  }
}

.hub-header__link {
  position: relative;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hub-header__link:hover {
  color: #fafafa;
}

.hub-header__link--muted {
  color: #71717a;
  padding-left: 0;
  padding-right: 0;
}

.hub-header__cta {
  padding: 0.625rem 1rem !important;
  font-size: 0.8125rem !important;
  flex-shrink: 0;
}

.hub-header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  flex-shrink: 0;
  border: 1px solid #27272a;
  color: #a1a1aa;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hub-header__menu-btn:hover {
  color: #fafafa;
  border-color: rgba(45, 212, 191, 0.35);
}

.hub-header__drawer {
  top: 4rem;
}

.hub-drawer-main {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hub-drawer-main .mobile-nav-drawer__link {
  display: block;
  padding: 0.875rem 1rem;
  background: #111113;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fafafa;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hub-drawer-main .mobile-nav-drawer__link:hover {
  color: #2dd4bf;
}

.hub-drawer-chip {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #a1a1aa;
  border: 1px solid #27272a;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.hub-drawer-chip:hover {
  color: #fafafa;
  border-color: rgba(45, 212, 191, 0.35);
}

.faq-details summary { list-style: none; }
.faq-details summary::-webkit-details-marker { display: none; }

.prose-hub {
  color: #d4d4d8;
  line-height: 1.75;
  font-size: 1.0625rem;
}

.prose-hub h2,
.prose-hub h3 {
  font-family: 'Schibsted Grotesk', sans-serif;
  color: #fafafa;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-hub h2 { font-size: 1.5rem; }
.prose-hub h3 { font-size: 1.25rem; }

.prose-hub p { margin-bottom: 1.25rem; }

.prose-hub a {
  color: #2dd4bf;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-hub ul,
.prose-hub ol {
  margin: 1rem 0 1.25rem 1.25rem;
}

.prose-hub li { margin-bottom: 0.5rem; }

.landing-article .prose-hub > h2:first-child,
.landing-article .prose-hub > h3:first-child {
  margin-top: 0;
}

.landing-article .prose-hub p:first-child {
  margin-top: 0;
}

.seo-signal-grid li {
  background: #111113;
  border: 1px solid #27272a;
  border-radius: 2px;
  padding: 1rem;
  color: #a1a1aa;
  font-size: 0.875rem;
}

.seo-signal-grid li strong,
.seo-signal-grid li .font-semibold {
  color: #fafafa;
}

/* Ambiente global */
.hub-ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hub-ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hub-ambient__orb--1 {
  top: -15%;
  left: 8%;
  width: 50vh;
  height: 50vh;
  background: rgba(45, 212, 191, 0.07);
}

.hub-ambient__orb--2 {
  top: 38%;
  right: -12%;
  width: 42vh;
  height: 42vh;
  background: rgba(255, 255, 255, 0.03);
}

.hub-grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

.hub-page-main {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
}

@media (min-width: 1024px) {
  .hub-page-main {
    padding-top: 4.25rem;
  }
}

.panel-spotlight {
  position: relative;
  overflow: hidden;
}

.panel-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(45, 212, 191, 0.07), transparent 55%);
  pointer-events: none;
}

.accent-glow {
  box-shadow: 0 0 80px -20px rgba(45, 212, 191, 0.3);
}

.plan-featured {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 0 60px -20px rgba(45, 212, 191, 0.25);
  transform: scale(1.02);
  z-index: 1;
}

@media (min-width: 768px) {
  .plan-featured {
    margin-top: -0.5rem;
    margin-bottom: -0.5rem;
  }
}

.plan-featured-wrap {
  position: relative;
  padding: 1px;
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.5), rgba(63, 63, 70, 0.3), rgba(45, 212, 191, 0.3));
  background-size: 200% 200%;
  animation: glow-border-shift 6s ease infinite;
}

/* Growth pipeline */
.growth-pipeline__stage {
  position: relative;
  overflow: hidden;
  min-width: 42%;
  transition: border-color 0.3s;
}

.growth-pipeline__stage:hover {
  border-color: rgba(45, 212, 191, 0.35);
}

.growth-pipeline__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(45, 212, 191, 0.06) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: pipeline-shine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pipeline-shine {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

/* Testimonials */
.testimonial-avatar {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.25), rgba(45, 212, 191, 0.05));
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #2dd4bf;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-stars::before {
  content: '';
  display: block;
  width: 1rem;
  height: 2px;
  background: rgba(45, 212, 191, 0.6);
  border-radius: 999px;
  box-shadow: 1.125rem 0 0 rgba(45, 212, 191, 0.6), 2.25rem 0 0 rgba(45, 212, 191, 0.6), 3.375rem 0 0 rgba(45, 212, 191, 0.6), 4.5rem 0 0 rgba(45, 212, 191, 0.6);
}

/* Plans compare table */
.plans-compare {
  border-collapse: collapse;
}

.plans-compare th,
.plans-compare td {
  vertical-align: middle;
}

/* Blog featured hero */
.blog-featured {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog-featured__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.blog-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.4) 50%, rgba(9, 9, 11, 0.2) 100%);
}

.blog-featured__content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

@media (min-width: 640px) {
  .blog-featured { min-height: 400px; }
  .blog-featured__content { padding: 2.5rem 3rem; }
}

  border-color: rgba(45, 212, 191, 0.35) !important;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.15), 0 0 80px -20px rgba(45, 212, 191, 0.35);
}

.badge-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border: 1px solid #27272a;
  background: rgba(9, 9, 11, 0.6);
  color: #a1a1aa;
}

.marquee-strip {
  overflow: hidden;
  border-top: 1px solid rgba(39, 39, 42, 0.8);
  border-bottom: 1px solid rgba(39, 39, 42, 0.8);
  background: rgba(17, 17, 19, 0.85);
  position: relative;
}

.marquee-strip__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4rem;
  z-index: 2;
  pointer-events: none;
}

.marquee-strip__fade--left {
  left: 0;
  background: linear-gradient(90deg, rgba(17, 17, 19, 0.95), transparent);
}

.marquee-strip__fade--right {
  right: 0;
  background: linear-gradient(270deg, rgba(17, 17, 19, 0.95), transparent);
}

.marquee-strip__track {
  display: flex;
  width: max-content;
  animation: hub-marquee 42s linear infinite;
  padding: 1rem 0;
}

.marquee-strip__item {
  margin: 0 1.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #71717a;
  white-space: nowrap;
}

.marquee-strip__item::before {
  content: '◆';
  color: #2dd4bf;
  margin-right: 0.75rem;
}

@keyframes hub-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reveal-on-scroll {
  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);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-blur {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(16px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-blur.is-visible {
  opacity: 1;
  filter: none;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 350ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 420ms; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 490ms; }
.reveal-stagger.is-visible > *:nth-child(n+9) { transition-delay: 560ms; }

.panel-interactive {
  --spot-x: 50%;
  --spot-y: 0%;
  position: relative;
}

.panel-interactive::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(45, 212, 191, 0.14), transparent 52%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 1;
}

.panel-interactive:hover::after {
  opacity: 1;
}

.hub-tilt {
  perspective: 900px;
}

.hub-tilt__inner {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.premium-lift {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.35s ease;
}

@media (hover: hover) {
  .premium-lift:hover {
    transform: translateY(-4px);
  }
}

.btn-magnetic {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s, box-shadow 0.35s, border-color 0.25s, color 0.25s;
}

.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.98);
}

.parallax-slow {
  will-change: transform;
}

.nav-link.is-active,
.nav-chapter.is-active {
  color: #fafafa;
}

.nav-link.is-active::after,
.nav-chapter.is-active::after {
  width: 100%;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: #2dd4bf;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.hero-parallax-target {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-parallax-zone {
  position: relative;
}

.pipeline-grow-php {
  width: 0 !important;
  opacity: 0.45;
  transition: width 0.95s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.95s ease, border-color 0.35s ease;
}

.pipeline-grow-php.is-grown {
  width: var(--stage-width) !important;
  opacity: 1;
}

.faq-accordion details[open] .faq-accordion__icon {
  transform: rotate(45deg);
}

.faq-accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-accordion details[open] .faq-accordion__body {
  grid-template-rows: 1fr;
}

.faq-accordion__body > * {
  overflow: hidden;
}

.input-motion {
  transition: border-color 0.25s, box-shadow 0.35s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.input-motion:focus {
  transform: translateY(-1px);
}

.spark-bars.is-grown .spark-bars__col {
  height: var(--spark-height);
}

.spark-bars__col {
  height: 0;
  transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.compare-grid.compare-connector--pulse::after {
  animation: connector-pulse 2.8s ease-in-out infinite;
}

@keyframes connector-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.2);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow: 0 0 24px 2px rgba(45, 212, 191, 0.28);
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.chart-bars .chart-bar,
.dashboard-mock__chart .chart-bar {
  height: 0;
  transition: height 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.chart-bars.is-animated .chart-bar,
.dashboard-mock__chart.is-animated .chart-bar {
  height: var(--bar-height);
}

#site-header.header-scrolled,
#site-header.hub-header--surface {
  border-bottom: 1px solid rgba(39, 39, 42, 0.9);
  background: rgba(9, 9, 11, 0.92);
  box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
}

.hub-header__link.is-active {
  color: #fafafa;
}

.hub-header__link.is-active::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.35rem;
  height: 1px;
  background: rgba(45, 212, 191, 0.65);
}

.hub-header__menu-btn .hub-header__icon--close.hidden,
.hub-header__menu-btn .hub-header__icon--menu.hidden {
  display: none;
}

.mobile-nav-drawer__link--chapter {
  font-size: 0.8125rem;
  color: #a1a1aa;
}

/* Franja de impacto */
.impact-band {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(39, 39, 42, 0.8);
  border-bottom: 1px solid rgba(39, 39, 42, 0.8);
  background: rgba(24, 24, 27, 0.85);
  overflow: hidden;
}

.impact-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.06) 0%, transparent 50%, rgba(45, 212, 191, 0.06) 100%);
  pointer-events: none;
}

.impact-band__inner {
  position: relative;
  padding: 2.5rem 0;
}

@media (min-width: 640px) {
  .impact-band__inner { padding: 3.5rem 0; }
}

.impact-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .impact-band__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.impact-band__item {
  text-align: center;
}

@media (min-width: 1024px) {
  .impact-band__item { text-align: left; }
  .impact-band__item--bordered {
    border-left: 1px solid #27272a;
    padding-left: 2rem;
  }
}

.impact-band__metric {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fafafa;
  line-height: 1;
}

.impact-band__metric--accent { color: #2dd4bf; }

.impact-band__label {
  margin-top: 0.5rem;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fafafa;
}

.impact-band__client {
  margin-top: 0.25rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #71717a;
}

/* Statement editorial */
.statement-block {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  border-top: 1px solid rgba(39, 39, 42, 0.8);
  border-bottom: 1px solid rgba(39, 39, 42, 0.8);
  background: #111113;
  overflow: hidden;
}

.statement-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(45, 212, 191, 0.06), transparent);
  pointer-events: none;
}

.statement-block__text {
  position: relative;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fafafa;
}

.statement-block__accent { color: #2dd4bf; }
.statement-block__muted { color: #a1a1aa; }

.statement-block__frame {
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(45, 212, 191, 0.4);
}

/* Ops status bar */
.ops-status {
  position: sticky;
  top: 4rem;
  z-index: 40;
  border-bottom: 1px solid rgba(39, 39, 42, 0.6);
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.ops-status__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.ops-status__live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2dd4bf;
}

.ops-status__dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2dd4bf;
}

.ops-status__dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #2dd4bf;
  animation: sticky-pulse 1.5s ease-out infinite;
}

.ops-status__ticker-wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ops-status__ticker {
  display: flex;
  width: max-content;
  animation: ops-ticker 28s linear infinite;
}

.ops-status__item {
  margin-right: 2rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #71717a;
  white-space: nowrap;
}

@keyframes ops-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Contact page */
.contact-page__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-page__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 4rem;
    align-items: start;
  }

  .contact-page__form {
    position: sticky;
    top: 6.25rem;
  }
}

.contact-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: #27272a;
}

@media (min-width: 640px) {
  .contact-channels {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-channel {
  display: block;
  text-decoration: none;
  color: inherit;
}

.contact-form__trust {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-hero .hub-visual--inline {
  margin: 0;
}

.contact-hero .hub-visual--inline .hub-visual__inner {
  border: 1px solid rgba(39, 39, 42, 0.8);
}

/* Hub visual compact */
.hub-orbit--compact {
  max-width: 280px;
}

.hub-orbit--compact .hub-orbit__node {
  font-size: 0.6875rem;
  padding: 0.35rem 0.5rem;
}

.hub-visual--inline .hub-visual__inner {
  padding: 1rem;
  background: rgba(9, 9, 11, 0.5);
}

.hub-visual--inline .hub-orbit {
  max-width: 220px;
  margin: 0 auto;
}

/* Auth pages */
.auth-page__grid {
  display: grid;
  gap: 1px;
  background: #27272a;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .auth-page__grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.auth-aside {
  min-height: 100%;
}

.auth-page__form {
  padding: 2rem 1.75rem;
}

@media (min-width: 640px) {
  .auth-page__form { padding: 2.5rem 2.5rem; }
}

.auth-page__form-head {
  margin-bottom: 1.5rem;
}

.auth-page__fields {
  margin-bottom: 0;
}

.auth-page__alert {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 2px;
  border: 1px solid rgba(127, 29, 29, 0.5);
  background: rgba(69, 10, 10, 0.35);
  color: #fecaca;
  font-size: 0.875rem;
}

.auth-page__form-foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #27272a;
}

/* Mobile nav drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(4px);
}

.mobile-nav-backdrop.hidden {
  display: none !important;
}

.mobile-nav-drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: 4rem;
  z-index: 48;
  max-height: calc(100dvh - 4rem);
  overflow-y: auto;
  border-bottom: 1px solid #27272a;
  background: rgba(9, 9, 11, 0.98);
  backdrop-filter: blur(12px);
  animation: sticky-cta-in 0.25s ease-out;
}

.mobile-nav-drawer.hidden {
  display: none !important;
}

.mobile-nav-drawer__link {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid #27272a;
  background: #111113;
  color: #d4d4d8;
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
}

.mobile-nav-drawer__link:hover {
  border-color: rgba(45, 212, 191, 0.35);
  color: #fafafa;
}

@media (max-width: 1023px) {
  #site-header .site-wrap {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  #mobile-nav-toggle {
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .mobile-nav-drawer__link {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #site-header .btn-primary {
    min-height: 2.5rem;
  }
}

@media (max-width: 639px) {
  .plans-compare-wrap {
    overflow-x: visible;
  }

  .plans-compare {
    display: block;
    min-width: 0 !important;
  }

  .plans-compare thead {
    display: none;
  }

  .plans-compare tbody tr {
    display: block;
    margin-bottom: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid #27272a;
    border-radius: 0.5rem;
    background: #111113;
  }

  .plans-compare tbody td {
    display: block;
    padding: 0.3rem 0;
    border: none;
    text-align: left !important;
  }

  .plans-compare tbody td:first-child {
    font-weight: 600;
    color: #fafafa;
    padding-bottom: 0.5rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid #27272a;
  }

  .plans-compare tbody td:nth-child(2)::before,
  .plans-compare tbody td:nth-child(3)::before,
  .plans-compare tbody td:nth-child(4)::before {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #71717a;
    margin-right: 0.65rem;
    min-width: 5.5rem;
  }

  .plans-compare tbody td:nth-child(2)::before { content: 'Esencial'; }
  .plans-compare tbody td:nth-child(3)::before { content: 'Profesional'; }
  .plans-compare tbody td:nth-child(4)::before { content: 'Enterprise'; }

  .plans-compare tbody td:nth-child(3) {
    background: transparent;
  }
}

body.mobile-nav-open {
  overflow: hidden;
}

/* Metodología — fases (página /metodologia) */
.methodology-phases__line {
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.5), #27272a, transparent);
  transform-origin: top center;
}

.methodology-phases__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1px;
  background: #27272a;
}

@media (min-width: 768px) {
  .methodology-phases__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .methodology-phases__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.methodology-phases__card {
  padding: 2rem 2.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s ease;
}

.methodology-phases__card:hover {
  border-color: rgba(45, 212, 191, 0.35);
}

/* Process mini timeline */
.process-mini__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #27272a;
  border: 1px solid #27272a;
}

.process-mini__step {
  position: relative;
}

.process-mini__step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.25rem;
  bottom: -0.5rem;
  width: 1px;
  height: 0.5rem;
  background: rgba(45, 212, 191, 0.3);
  z-index: 1;
}

/* Page enter */
.hub-page-enter {
  animation: page-enter 0.5s ease-out;
}

@keyframes page-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  background: rgba(39, 39, 42, 0.5);
  pointer-events: none;
}

.scroll-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #14b8a6, #2dd4bf, #14b8a6);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.45);
  transition: width 0.12s ease-out, box-shadow 0.25s ease;
}

.scroll-progress__bar.is-scrolling {
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.65);
}

main section[id],
main [id].scroll-anchor {
  scroll-margin-top: 5.5rem;
}

.link-premium {
  position: relative;
  display: inline-flex;
  transition: color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.link-premium::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.65;
}

@media (hover: hover) {
  .link-premium:hover::after {
    transform: scaleX(1);
  }

  .link-premium:hover {
    transform: translateX(2px);
  }
}

.marquee-pause-hover:hover .marquee-strip__track,
.marquee-pause-hover:hover .marquee-track,
.marquee-pause-hover:hover .tech-marquee__track,
.marquee-pause-hover:hover .sectors-strip__track {
  animation-play-state: paused;
}

.trust-tile {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .trust-tile:hover {
    transform: translateY(-3px);
  }
}

.list-reveal > * {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.list-reveal.is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: none; }
.list-reveal.is-visible > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: none; }
.list-reveal.is-visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: none; }
.list-reveal.is-visible > *:nth-child(n+4) { transition-delay: 240ms; opacity: 1; transform: none; }

.hub-orbit {
  transform-origin: center;
  animation: hub-orbit-spin 24s linear infinite;
}

@keyframes hub-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.mobile-nav-drawer:not(.hidden) {
  animation: mobile-nav-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes mobile-nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-blur {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(16px);
}

.chip-tag {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, background-color 0.3s, box-shadow 0.4s ease;
}

@media (hover: hover) {
  .chip-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px -12px rgba(45, 212, 191, 0.35);
  }
}

#site-header.header-scrolled .hub-header__inner {
  min-height: 3.5rem;
  height: 3.5rem;
  padding-top: 0;
  padding-bottom: 0;
}

#site-header.header-scrolled .brand-wordmark--hero {
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.ops-ticker-pause:hover .ops-ticker-track {
  animation-play-state: paused;
}

.metric-pop {
  display: inline-block;
  animation: metric-pop-in 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes metric-pop-in {
  0% { transform: scale(0.92); opacity: 0.6; }
  60% { transform: scale(1.04); }
  100% { transform: scale(1); opacity: 1; }
}

.hero-mesh-parallax {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.5s ease-out;
}

.hero-accent-line {
  transform: scaleX(0);
  transform-origin: left center;
  animation: hero-line-draw 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

@keyframes hero-line-draw {
  to { transform: scaleX(1); }
}

.logo-shimmer {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.logo-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.14) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

@media (hover: hover) {
  .logo-shimmer:hover::after {
    transform: translateX(130%);
  }
}

.cookie-banner-enter {
  animation: cookie-slide-up 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.section-edge-glow {
  position: relative;
}

.section-edge-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.45), transparent);
  background-size: 200% 100%;
  animation: edge-glow-scan 5s linear infinite;
  pointer-events: none;
}

@keyframes edge-glow-scan {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.img-reveal {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.05);
  transition: clip-path 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-reveal.is-visible {
  clip-path: inset(0 0 0% 0);
  transform: scale(1);
}

/* Trust row PHP */
.trust-row {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(39, 39, 42, 0.8);
  border-bottom: 1px solid rgba(39, 39, 42, 0.8);
}

.trust-row__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #27272a;
}

@media (min-width: 1024px) {
  .trust-row__grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-row__item {
  background: #111113;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .trust-row__item { text-align: left; }
}

.trust-row__value {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2dd4bf;
}

.trust-row__label {
  margin-top: 0.25rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #71717a;
}

/* Blog article hero */
.article-hero {
  position: relative;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(39, 39, 42, 0.8);
  background: #111113;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 0%, rgba(45, 212, 191, 0.08), transparent 55%);
  pointer-events: none;
}

.article-read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #2dd4bf, rgba(45, 212, 191, 0.5));
  z-index: 70;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* Legal nav tabs */
.legal-nav__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.legal-nav__tab {
  display: inline-flex;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #27272a;
  border-radius: 2px;
  color: #a1a1aa;
  background: #111113;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.legal-nav__tab:hover {
  color: #fafafa;
  border-color: rgba(45, 212, 191, 0.35);
}

.legal-nav__tab.is-active {
  color: #09090b;
  background: #2dd4bf;
  border-color: #2dd4bf;
  font-weight: 600;
}

/* Tech marquee */
.tech-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #27272a;
  border-bottom: 1px solid #27272a;
  background: rgba(9, 9, 11, 0.85);
  padding: 1.25rem 0;
}

.tech-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.tech-marquee__item {
  margin: 0 1.75rem;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(250, 250, 250, 0.28);
  white-space: nowrap;
}

.tech-marquee__item::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.55);
  margin-right: 0.5rem;
  vertical-align: middle;
}

.tech-marquee__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5rem;
  z-index: 2;
  pointer-events: none;
}

.tech-marquee__fade--left {
  left: 0;
  background: linear-gradient(90deg, #09090b, transparent);
}

.tech-marquee__fade--right {
  right: 0;
  background: linear-gradient(270deg, #09090b, transparent);
}

/* Spark bars (cases PHP) */
.spark-bars {
  display: flex;
  align-items: flex-end;
}

.spark-bars__col {
  border-radius: 1px 1px 0 0;
  min-height: 4px;
}

/* Hub diagram PHP (beneficios) */
.hub-orbit {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
}

.hub-orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.9);
  box-shadow: 0 0 40px rgba(45, 212, 191, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #09090b;
  z-index: 2;
}

.hub-orbit__node {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 1px solid #27272a;
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.75rem;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fafafa;
  white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hub-orbit__node:hover {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 0 24px -6px rgba(45, 212, 191, 0.35);
}

/* Glow border animado */
.glow-border {
  position: relative;
  padding: 1px;
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.5), rgba(63, 63, 70, 0.3), rgba(45, 212, 191, 0.3));
  background-size: 200% 200%;
  animation: glow-border-shift 6s ease infinite;
}

@keyframes glow-border-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Dashboard mock */
.dashboard-mock__chart {
  display: flex;
  align-items: flex-end;
}

.dashboard-mock__bar-col {
  border-radius: 1px 1px 0 0;
  min-height: 4px;
}

/* Sectores strip */
.sectors-strip {
  border-top: 1px solid #27272a;
  border-bottom: 1px solid #27272a;
  background: rgba(9, 9, 11, 0.6);
  padding: 2rem 0;
  overflow: hidden;
}

.sectors-strip__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.sectors-strip__item {
  margin: 0 2rem;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(250, 250, 250, 0.2);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hub-tilt__inner {
    transform: none !important;
  }

  .panel-interactive::after {
    display: none;
  }

  .compare-grid.compare-connector--pulse::after {
    animation: none;
  }

  .parallax-slow {
    transform: none !important;
  }

  .hero-parallax-target {
    transform: none !important;
  }

  .pipeline-grow-php {
    width: var(--stage-width) !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .spark-bars__col {
    height: var(--spark-height) !important;
    transition: none !important;
  }

  .faq-accordion__body {
    grid-template-rows: 1fr !important;
    transition: none !important;
  }

  .link-premium:hover {
    transform: none;
  }

  .list-reveal > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hub-orbit {
    animation: none !important;
  }

  .reveal-blur {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .chip-tag:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .metric-pop {
    animation: none !important;
  }

  .input-field:focus {
    transform: none;
  }

  .hero-accent-line {
    transform: scaleX(1) !important;
    animation: none !important;
  }

  .logo-shimmer::after {
    display: none;
  }

  .cookie-banner-enter {
    animation: none !important;
  }

  .section-edge-glow::before {
    animation: none !important;
  }

  .img-reveal {
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-mesh-parallax {
    transform: none !important;
  }

  .mobile-nav-drawer {
    animation: none !important;
  }

  .marquee-pause-hover:hover .marquee-strip__track {
    animation-play-state: running;
  }

  .chart-bars .chart-bar,
  .dashboard-mock__chart .chart-bar {
    height: var(--bar-height, auto) !important;
    transition: none;
  }

  .marquee-strip__track {
    animation: none;
  }

  .hero-mesh-blob {
    animation: none !important;
  }

  .glow-border {
    animation: none;
    background: rgba(45, 212, 191, 0.25);
  }

  .sectors-strip__track {
    animation: none;
  }

  .tech-marquee__track {
    animation: none;
  }

  .growth-pipeline__shine {
    animation: none;
  }

  .plan-featured-wrap {
    animation: none;
    background: rgba(45, 212, 191, 0.25);
  }

  .sticky-cta,
  .sticky-cta__pulse::before {
    animation: none;
  }

  .ops-status__ticker,
  .btn-primary::after {
    animation: none;
  }

  .hub-page-enter {
    animation: none;
  }
}

/* —— Rendimiento móvil: pintado rápido y menos carga GPU —— */
@media (max-width: 767px), (pointer: coarse) {
  .hub-ambient,
  .hub-grain {
    display: none !important;
  }

  #site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(9, 9, 11, 0.96) !important;
  }

  .reveal-on-scroll,
  .reveal-blur,
  .reveal-stagger > *,
  .list-reveal > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .hub-page-enter {
    animation: none !important;
  }

  .parallax-slow {
    transform: none !important;
  }

  .hero-dark .hero-mesh-blob {
    display: none;
  }

  .marquee-strip__track,
  .sectors-strip__track,
  .tech-marquee__track {
    animation: none !important;
  }

  main section.section-block,
  main section.hero-dark {
    content-visibility: auto;
    contain-intrinsic-size: auto 480px;
  }
}

html.hub-mobile-lite .hub-ambient,
html.hub-mobile-lite .hub-grain {
  display: none !important;
}
