/**
 * Portada — hub radial (inspiración panel industrial), versión refinada.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

.hub-body {
  scroll-behavior: smooth;
  margin: 0;
  min-height: 100vh;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(ellipse 120% 80% at 50% 28%, rgba(13, 148, 136, 0.04), transparent 52%),
    radial-gradient(ellipse 90% 60% at 85% 92%, rgba(34, 197, 94, 0.03), transparent 45%),
    linear-gradient(168deg, #e8ecf2 0%, #e2e8f0 48%, #e8edf3 100%);
  color: #0f172a;
}

.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 1rem 1.5rem 0.65rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.hub-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.hub-header__logo {
  width: clamp(2rem, 4.2vw, 2.45rem);
  height: auto;
  flex-shrink: 0;
  display: block;
  border-radius: 0.45rem;
}

.hub-header__right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hub-header__title {
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  letter-spacing: -0.03em;
}

.hub-header__title em {
  font-style: normal;
  color: #16a34a;
}

.hub-header__tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
}

.hub-lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.14rem;
  backdrop-filter: blur(6px);
}

.hub-lang__btn {
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 999px;
  padding: 0.28rem 0.56rem;
  cursor: pointer;
}

.hub-lang__btn--active {
  background: #0f172a;
  color: #e2e8f0;
}

.hub-account {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.35rem;
}

.hub-account__user {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
}

.hub-account__btn {
  border: 1px solid rgba(22, 163, 74, 0.45);
  background: rgba(255, 255, 255, 0.82);
  color: #166534;
  font-size: 0.66rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.3rem 0.58rem;
  cursor: pointer;
}

.hub-account__btn:hover {
  background: rgba(240, 253, 244, 0.92);
}

a.hub-account__btn--link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

a.hub-account__btn--link:hover {
  text-decoration: none;
}

.hub-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 4rem);
  padding: 0.65rem 1rem 2rem;
}

/* --- Hero (portada) — bloque principal, máximo impacto --- */
.hub-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1280px, 100%);
  min-height: min(88vh, 920px);
  margin: 0 auto 2.85rem;
  padding: clamp(2.15rem, 5vw, 4rem) clamp(1.45rem, 3.5vw, 3.25rem);
  border-radius: clamp(24px, 3.2vw, 40px);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 250, 252, 0.55) 42%, rgba(238, 242, 255, 0.65) 100%),
    radial-gradient(ellipse 95% 70% at 8% 25%, rgba(37, 99, 235, 0.11), transparent 58%),
    radial-gradient(ellipse 80% 55% at 92% 75%, rgba(13, 148, 136, 0.09), transparent 52%),
    linear-gradient(152deg, #ffffff 0%, #f1f5f9 40%, #e8f0fe 100%);
  border: 1px solid rgba(148, 163, 184, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.82) inset,
    0 40px 100px rgba(15, 23, 42, 0.12),
    0 12px 36px rgba(37, 99, 235, 0.1);
}

.hub-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hub-hero__gridlines {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hub-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.55;
  pointer-events: none;
}

.hub-hero__orb--a {
  width: min(58vw, 480px);
  height: min(58vw, 480px);
  top: -22%;
  right: -12%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.38) 0%, transparent 68%);
}

.hub-hero__orb--b {
  width: min(44vw, 360px);
  height: min(44vw, 360px);
  bottom: -26%;
  left: -8%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, transparent 70%);
}

.hub-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 3.75rem);
  min-height: min(68vh, 640px);
}

.hub-hero__content {
  padding: 0.5rem 0.65rem 0.5rem 0.2rem;
}

.hub-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.38rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1e40af;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.95) 0%, rgba(219, 234, 254, 0.75) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.hub-hero__title {
  margin: 0;
  font-size: clamp(2.85rem, 6.5vw, 4.45rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
  color: #030712;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hub-hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, #16a34a 0%, #059669 45%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hub-hero__subtitle {
  margin: 1rem 0 0;
  font-size: clamp(1.2rem, 2.35vw, 1.72rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: #0f172a;
  max-width: 38rem;
}

.hub-hero__desc {
  margin: 1.45rem 0 0;
  max-width: 54ch;
}

.hub-hero__desc p {
  margin: 0 0 0.62rem;
  font-size: clamp(1.02rem, 1.55vw, 1.12rem);
  font-weight: 500;
  line-height: 1.72;
  color: #334155;
}

.hub-hero__desc p:last-child {
  margin-bottom: 0;
}

.hub-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hub-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.05rem 1.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-radius: 999px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.hub-hero__btn--primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 38%, #0891b2 100%);
  color: #ffffff;
  border: 1px solid rgba(30, 64, 175, 0.95);
  box-shadow:
    0 5px 0 rgba(23, 37, 84, 0.28),
    0 20px 48px rgba(37, 99, 235, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.hub-hero__btn--primary::after {
  content: '\2192';
  font-size: 1.15em;
  font-weight: 700;
  opacity: 0.92;
  margin-left: 0.1rem;
}

.hub-hero__btn--primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 45%, #0e7490 100%);
  border-color: #172554;
  color: #fff;
  box-shadow:
    0 4px 0 rgba(23, 37, 84, 0.32),
    0 26px 56px rgba(37, 99, 235, 0.5),
    0 0 32px rgba(8, 145, 178, 0.25);
  transform: translateY(-2px);
}

.hub-hero__btn--secondary {
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  border: 1px solid rgba(100, 116, 139, 0.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset;
  font-weight: 700;
}

.hub-hero__btn--secondary:hover {
  border-color: #2563eb;
  color: #1e3a8a;
  background: #f8fafc;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.hub-hero__mockup-col {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1600px;
}

.hub-hero__mockup-wrap {
  position: relative;
  width: 100%;
  max-width: min(520px, 100%);
}

.hub-hero__mockup-glow {
  position: absolute;
  inset: -14% -10% -8%;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(59, 130, 246, 0.22), transparent 65%),
    radial-gradient(ellipse 50% 45% at 70% 80%, rgba(13, 148, 136, 0.14), transparent 55%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.hub-hero__mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid rgba(147, 197, 253, 0.65);
  border-radius: clamp(20px, 2.2vw, 28px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.99) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.75) inset,
    0 36px 70px rgba(30, 58, 138, 0.18),
    0 8px 22px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transform: rotateX(3deg) rotateY(-6deg) translateY(-8px) scale(1.05);
}

@media (prefers-reduced-motion: no-preference) {
  .hub-hero__mockup {
    animation: hubHeroMockupFloat 10s ease-in-out infinite;
  }

  @keyframes hubHeroMockupFloat {
    0%,
    100% {
      transform: rotateX(3deg) rotateY(-6deg) translateY(-8px) scale(1.05);
    }
    50% {
      transform: rotateX(3deg) rotateY(-6deg) translateY(-16px) scale(1.055);
    }
  }
}

.hub-hero__mockup-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  padding: 0.88rem 1rem 0.88rem 1.05rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 55%, #e0f2fe 100%);
}

.hub-hero__mockup-chrome {
  flex: 1;
  min-width: 0;
  margin-left: 0.15rem;
}

.hub-hero__mockup-url {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #475569;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(203, 213, 225, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-hero__mockup-live {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #047857;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(209, 250, 229, 0.95);
  border: 1px solid rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.hub-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06) inset;
}

.hub-hero__dot--r {
  background: #fb7185;
}

.hub-hero__dot--y {
  background: #fbbf24;
}

.hub-hero__dot--g {
  background: #4ade80;
}

.hub-hero__mockup-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.15rem;
}

.hub-hero__mockup-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.hub-hero__mockup-pill {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1e40af;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.85);
  border: 1px solid rgba(96, 165, 250, 0.45);
}

.hub-hero__mockup-body {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.15rem 1.4rem;
}

.hub-hero__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.82rem 0.95rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.hub-hero__mockup:hover .hub-hero__field {
  border-color: rgba(148, 163, 184, 0.65);
}

.hub-hero__label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #64748b;
}

.hub-hero__value {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.hub-hero__mockup-sketch {
  margin: 0.35rem 0 0;
  padding: 0.45rem 0.35rem 0.25rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.75) 100%);
  border: 1px solid rgba(203, 213, 225, 0.85);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05) inset;
}

.hub-hero__mockup-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 124px;
}

.hub-hero__result {
  margin-top: 0.1rem;
  border-radius: 16px;
  padding: 1.05rem 1rem 1rem;
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 35%, #e0f2fe 70%, #ecfdf5 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #0f172a;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

.hub-hero__result-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hub-hero__result strong {
  display: block;
  margin-top: 0.42rem;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.28;
  color: #0f172a;
}

.hub-hero__result-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0d9488;
  letter-spacing: 0.02em;
}

.hub-hero__mockup-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.15rem 0 0.35rem;
}

.hub-hero__mockup-tab {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0.32rem 0.55rem;
  border-radius: 8px;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid #e2e8f0;
}

.hub-hero__mockup-tab--active {
  color: #1e40af;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.hub-hero__mockup-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.65rem;
}

.hub-hero__mockup-fields .hub-hero__field {
  padding: 0.62rem 0.75rem;
}

.hub-hero__field--accent {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95) 0%, rgba(236, 253, 245, 0.9) 100%);
  border-color: rgba(59, 130, 246, 0.28);
}

.hub-hero__mockup-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.15rem 0 0.25rem;
}

.hub-hero__kpi {
  border-radius: 12px;
  padding: 0.55rem 0.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.hub-hero__kpi-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.hub-hero__kpi-val {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.hub-hero__kpi-val--ok {
  color: #047857;
}

.hub-featured {
  width: min(1200px, 100%);
  margin: 0 auto 2.3rem;
  padding: 1.1rem 0.25rem 0.2rem;
}

.hub-featured__head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.hub-featured__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f766e;
}

.hub-featured__title {
  margin: 0.28rem 0 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: #0f172a;
}

.hub-featured__subtitle {
  margin: 0.45rem auto 0;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  font-weight: 500;
}

.hub-featured__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.hub-featured-card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 14px 32px rgba(15, 23, 42, 0.06),
    0 4px 12px rgba(15, 23, 42, 0.04);
  padding: 1.15rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition:
    transform 0.22s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.hub-featured-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 22px 48px rgba(37, 99, 235, 0.12),
    0 10px 24px rgba(15, 23, 42, 0.08);
}

.hub-featured-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ecfeff 0%, #eff6ff 100%);
  border: 1px solid rgba(129, 140, 248, 0.35);
  font-size: 1.4rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-featured-card:hover .hub-featured-card__icon {
  transform: scale(1.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 24px rgba(37, 99, 235, 0.15);
}

.hub-featured-card__icon--gear { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); }
.hub-featured-card__icon--belt { background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%); }
.hub-featured-card__icon--chain { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); }
.hub-featured-card__icon--bearing { background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%); }
.hub-featured-card__icon--shaft { background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%); }
.hub-featured-card__icon--spring { background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%); }
.hub-featured-card__icon--bolt { background: linear-gradient(135deg, #eff6ff 0%, #bfdbfe 100%); }
.hub-featured-card__icon--iso { background: linear-gradient(135deg, #ecfeff 0%, #bae6fd 100%); }

.hub-featured-card__pill {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.hub-featured-card__title {
  margin: 0;
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
}

.hub-featured-card__desc {
  margin: 0;
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.52;
  flex: 1;
}

.hub-featured-card__cta {
  align-self: flex-start;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  border: 1px solid #1d4ed8;
  border-radius: 999px;
  padding: 0.44rem 0.8rem;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.hub-featured-card__cta:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.3);
}

.hub-zones {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.hub-zones__head {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 40rem;
}

.hub-zones__title {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.hub-zones__subtitle {
  margin: 0.65rem auto 0;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
  color: #64748b;
  max-width: 42ch;
}

.hub-zones-grid {
  width: min(1320px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
  align-items: start;
}

.hub-zone {
  width: 100%;
  position: relative;
  isolation: isolate;
  border-radius: 22px;
  padding: 0.85rem 0.5rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hub-zone:hover {
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.hub-scene {
  position: relative;
  width: min(92vmin, 720px);
  height: min(92vmin, 720px);
  max-width: 100%;
}

.hub-scene--go {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 22px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.hub-scene--go:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}

.hub-scene--go:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 5px;
}

.hub-scene--go:hover .hub-core {
  transform: translate(-50%, -50%) scale(1.04);
}

.hub-scene--go:active {
  transform: translateY(-1px);
}

/* Zonas: tres discos circulares + resumen minimal del contenido */
.hub-zones .hub-scene--go {
  isolation: isolate;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: radial-gradient(circle at 50% 34%, #ffffff 0%, #f1f5f9 52%, #e2e8f0 100%);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(15, 23, 42, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.65),
    inset 0 -20px 36px rgba(15, 23, 42, 0.045);
}

.hub-zone--machines .hub-scene--go {
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, rgba(240, 253, 244, 0.97) 44%, rgba(209, 250, 229, 0.9) 100%);
  border-color: rgba(16, 185, 129, 0.32);
  box-shadow:
    0 4px 6px rgba(5, 150, 105, 0.07),
    0 20px 44px rgba(5, 150, 105, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    inset 0 -22px 40px rgba(16, 185, 129, 0.07);
}

.hub-zone--lab .hub-scene--go {
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, rgba(240, 249, 255, 0.97) 46%, rgba(224, 242, 254, 0.92) 100%);
  border-color: rgba(14, 165, 233, 0.34);
  box-shadow:
    0 4px 6px rgba(14, 165, 233, 0.08),
    0 20px 44px rgba(14, 165, 233, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75),
    inset 0 -22px 40px rgba(14, 165, 233, 0.07);
}

.hub-zone--fluids .hub-scene--go {
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, rgba(236, 254, 255, 0.97) 46%, rgba(207, 250, 254, 0.9) 100%);
  border-color: rgba(6, 182, 212, 0.34);
  box-shadow:
    0 4px 6px rgba(6, 182, 212, 0.08),
    0 20px 44px rgba(6, 182, 212, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75),
    inset 0 -22px 40px rgba(6, 182, 212, 0.07);
}

.hub-zones .hub-scene--go:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 16px rgba(15, 23, 42, 0.07),
    0 28px 52px rgba(15, 23, 42, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.88),
    inset 0 -20px 36px rgba(15, 23, 42, 0.04);
}

.hub-zone--machines .hub-scene--go:hover {
  box-shadow:
    0 12px 20px rgba(5, 150, 105, 0.14),
    0 30px 56px rgba(5, 150, 105, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.92),
    inset 0 -18px 36px rgba(16, 185, 129, 0.08);
}

.hub-zone--lab .hub-scene--go:hover {
  box-shadow:
    0 12px 20px rgba(14, 165, 233, 0.14),
    0 30px 56px rgba(14, 165, 233, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.92),
    inset 0 -18px 36px rgba(14, 165, 233, 0.08);
}

.hub-zone--fluids .hub-scene--go:hover {
  box-shadow:
    0 12px 20px rgba(6, 182, 212, 0.14),
    0 30px 56px rgba(6, 182, 212, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.92),
    inset 0 -18px 36px rgba(6, 182, 212, 0.08);
}

.hub-zones .hub-wires {
  z-index: 0;
}

.hub-zone--machines .hub-wires__orbit {
  stroke: rgba(5, 150, 105, 0.4);
  stroke-width: 0.34;
  opacity: 0.88;
}

.hub-zone--lab .hub-wires__orbit--lab {
  stroke: rgba(14, 165, 233, 0.45);
  opacity: 0.95;
}

.hub-zone--fluids .hub-wires__orbit--fluid {
  stroke: rgba(6, 182, 212, 0.48);
  opacity: 0.95;
}

.hub-scene__peek {
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  max-width: 90%;
  padding: 0.28rem 0.55rem 0.32rem;
  text-align: center;
  font-size: clamp(0.56rem, 1.45vmin, 0.69rem);
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #475569;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}

.hub-zone--machines .hub-scene__peek {
  color: #166534;
  border-color: rgba(16, 185, 129, 0.28);
  background: rgba(240, 253, 244, 0.78);
}

.hub-zone--lab .hub-scene__peek {
  color: #0369a1;
  border-color: rgba(14, 165, 233, 0.28);
  background: rgba(240, 249, 255, 0.82);
}

.hub-zone--fluids .hub-scene__peek {
  color: #0e7490;
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(236, 254, 255, 0.82);
}

.hub-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hub-wires__orbit {
  stroke: #94a3b8;
  stroke-width: 0.28;
  stroke-dasharray: 0.8 2.1;
  opacity: 0.42;
}

.hub-wires__spokes {
  stroke: #1e293b;
  stroke-width: 0.33;
  opacity: 0.28;
}

.hub-wires__spokes line:nth-child(2n) {
  opacity: 0.18;
}

.hub-wires__line--accent {
  stroke: #22c55e;
  stroke-width: 0.55;
  opacity: 0.85;
}

.hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(26vmin, 168px);
  height: min(26vmin, 168px);
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  transition: transform 0.22s ease;
}

.hub-core__pulse {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.35) 0%, transparent 70%);
  animation: hub-pulse 3.2s ease-in-out infinite;
}

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

.hub-core__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #22c55e;
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.35),
    0 0 28px rgba(34, 197, 94, 0.45),
    inset 0 0 20px rgba(0, 0, 0, 0.35);
}

.hub-core__body {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #334155 0%, #0f172a 55%, #020617 100%);
  box-shadow: inset 0 -4px 12px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hub-core__mesh {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118%;
  height: 118%;
  transform: translate(-50%, -50%);
  z-index: 2;
  overflow: visible;
  filter: drop-shadow(0 2px 8px rgba(34, 197, 94, 0.22));
}

.hub-core__mesh--lab {
  filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.28));
}

.hub-core__mesh--drive .hub-core__gear--a {
  animation: hub-gear-spin 48s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.hub-core__mesh--drive .hub-core__gear--b {
  animation: hub-gear-spin 34s linear infinite reverse;
  transform-box: fill-box;
  transform-origin: center;
}

.hub-core__mesh--lab .hub-core__gear--lab-a {
  animation: hub-gear-spin 56s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.hub-core__mesh--lab .hub-core__gear--lab-b {
  animation: hub-gear-spin 38s linear infinite reverse;
  transform-box: fill-box;
  transform-origin: center;
}

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

.hub-rim {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hub-arm {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--a));
}

.hub-arm__inner {
  position: absolute;
  width: min(32vmin, 188px);
  left: 50%;
  margin-left: calc(-1 * min(16vmin, 94px));
  top: calc(-1 * min(37.5vmin, 232px));
  transform: rotate(calc(-1 * var(--a)));
  display: flex;
  justify-content: center;
  text-align: center;
}

.hub-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.62rem;
  text-decoration: none;
  color: inherit;
  cursor: default;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hub-node--go {
  cursor: pointer;
}

.hub-node--go:hover {
  transform: translateY(-2px) scale(1.04);
  filter: saturate(1.05);
}

.hub-node--go:hover .hub-node__icon {
  border-color: #22c55e;
  color: #16a34a;
  box-shadow:
    0 0 0 3px rgba(34, 197, 94, 0.28),
    0 10px 28px rgba(34, 197, 94, 0.2);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 244, 0.88) 100%);
}

.hub-node--go:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 4px;
  border-radius: 14px;
}

.hub-node__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(15.5vmin, 78px);
  height: min(15.5vmin, 78px);
  border-radius: 18px;
  color: #15803d;
  background: linear-gradient(155deg, #ffffff 0%, #f1f5f9 55%, #e2e8f0 100%);
  border: 2px solid rgba(34, 197, 94, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 18px rgba(15, 23, 42, 0.12);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.hub-node__icon svg {
  width: 62%;
  height: 62%;
  display: block;
}

.hub-node--go .hub-node__icon {
  border-color: rgba(34, 197, 94, 0.75);
  color: #166534;
}

.hub-node--soon .hub-node__icon {
  opacity: 0.48;
  filter: grayscale(0.35);
  border-color: #cbd5e1;
  color: #64748b;
  background: linear-gradient(155deg, #f8fafc 0%, #e2e8f0 100%);
}

.hub-node--soon .hub-node__label {
  color: #94a3b8;
}

.hub-node__label {
  font-size: clamp(0.72rem, 1.95vmin, 0.9rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 8.8rem;
  letter-spacing: -0.02em;
  color: #1e293b;
}

.hub-badge {
  display: inline-block;
  font-size: clamp(0.52rem, 1.5vmin, 0.66rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  line-height: 1;
}

.hub-badge--free {
  background: rgba(34, 197, 94, 0.22);
  color: #14532d;
  border: 1px solid rgba(34, 197, 94, 0.5);
}

.hub-badge--pro {
  color: #5b21b6;
  background: linear-gradient(135deg, #f5f3ff 0%, #fefce8 100%);
  border: 1px solid rgba(139, 92, 246, 0.45);
}

.hub-badge--ok {
  background: rgba(59, 130, 246, 0.18);
  color: #1e40af;
  border: 1px solid rgba(37, 99, 235, 0.35);
}

.hub-footnote {
  margin: 1.25rem auto 0;
  max-width: 420px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.35;
}

.hub-footnote--detail {
  max-width: min(640px, 100%);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748b;
}

.hub-zone__intro {
  margin: 0.45rem auto 0;
  max-width: 22rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
  color: #475569;
}

.hub-footer-legal {
  margin: 2rem auto 0;
  padding: 1rem 1.5rem 2rem;
  max-width: 1200px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  text-align: center;
}

.hub-footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.hub-footer-legal__links a {
  color: #64748b;
  text-decoration: none;
}

.hub-footer-legal__links a:hover {
  color: #0d9488;
  text-decoration: underline;
}

.hub-zone__title {
  margin: 0 auto 0.5rem;
  font-size: clamp(1.08rem, 1.9vw, 1.36rem);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-align: center;
  width: 100%;
}

.hub-zone__title--below {
  margin: 1.85rem auto 0.35rem;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.hub-zone--lab {
  width: 100%;
  max-width: none;
}

.hub-zone--fluids {
  width: 100%;
  max-width: none;
}

.hub-zone__sub {
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hub-zone__sub--ghost {
  visibility: hidden;
  pointer-events: none;
}

.hub-zone__dot {
  color: #cbd5e1;
  user-select: none;
}

.hub-zone__sub a {
  color: #0369a1;
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.hub-zone__sub a:hover {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}

.hub-scene--lab {
  width: min(100%, 408px);
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto;
  position: relative;
}

.hub-zone--machines .hub-scene {
  width: min(100%, 408px);
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto;
}

.hub-zone--machines .hub-core {
  width: min(22vmin, 132px);
  height: min(22vmin, 132px);
}

.hub-zone--machines .hub-arm__inner {
  width: min(29vmin, 150px);
  margin-left: calc(-1 * min(14.5vmin, 75px));
  top: calc(-1 * min(35.5vmin, 200px));
}

.hub-zone--machines .hub-node {
  gap: 0.28rem;
}

.hub-zone--machines .hub-node__icon {
  width: min(14.7vmin, 70px);
  height: min(14.7vmin, 70px);
  border-radius: 16px;
}

.hub-zone--machines .hub-node__label {
  font-size: clamp(0.66rem, 1.7vmin, 0.82rem);
  max-width: 7.4rem;
  line-height: 1.1;
}

.hub-zone--machines .hub-badge {
  font-size: clamp(0.44rem, 1.1vmin, 0.53rem);
  padding: 0.14rem 0.32rem;
  border-radius: 5px;
}

.hub-scene--fluid {
  width: min(100%, 408px);
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto;
  position: relative;
}

.hub-wires__orbit--lab {
  stroke: #38bdf8;
  stroke-width: 0.38;
  stroke-dasharray: 0.85 1.4;
  opacity: 0.9;
}

.hub-wires__spokes--lab {
  stroke: #0ea5e9;
  stroke-width: 0.42;
  opacity: 0.65;
}

.hub-wires__spokes--lab line {
  stroke: #0ea5e9;
  stroke-width: 0.45;
}

.hub-core--lab {
  width: min(26vmin, 168px);
  height: min(26vmin, 168px);
}

.hub-core__pulse--lab {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, transparent 70%);
}

.hub-core__ring--lab {
  border-color: #0ea5e9;
  box-shadow:
    0 0 0 1px rgba(14, 165, 233, 0.35),
    0 0 24px rgba(14, 165, 233, 0.35),
    inset 0 0 16px rgba(0, 0, 0, 0.32);
}

.hub-core__body--lab {
  background: radial-gradient(circle at 35% 30%, #0e7490 0%, #0f172a 55%, #020617 100%);
}

.hub-arm__inner--lab {
  width: min(32vmin, 188px);
  margin-left: calc(-1 * min(16vmin, 94px));
  top: calc(-1 * min(35.8vmin, 208px));
}

.hub-node__icon--lab {
  border-color: rgba(14, 165, 233, 0.55);
  color: #0369a1;
  background: linear-gradient(155deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
}

.hub-node--lab.hub-node--go:hover .hub-node__icon--lab {
  border-color: #0ea5e9;
  color: #0284c7;
  box-shadow:
    0 0 0 3px rgba(14, 165, 233, 0.28),
    0 10px 26px rgba(14, 165, 233, 0.18);
  background: linear-gradient(165deg, #ffffff 0%, #e0f2fe 100%);
}

.hub-node--go.hub-node--lab .hub-node__icon--lab {
  border-color: rgba(56, 189, 248, 0.75);
}

.hub-wires__orbit--fluid {
  stroke: #22d3ee;
  stroke-width: 0.38;
  stroke-dasharray: 0.85 1.4;
  opacity: 0.9;
}

.hub-wires__spokes--fluid {
  stroke: #06b6d4;
  stroke-width: 0.42;
  opacity: 0.65;
}

.hub-wires__spokes--fluid line {
  stroke: #06b6d4;
  stroke-width: 0.45;
}

.hub-core--fluid {
  width: min(26vmin, 168px);
  height: min(26vmin, 168px);
}

.hub-core__mesh--fluid {
  filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.28));
}

.hub-core__pulse--fluid {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, transparent 70%);
}

.hub-core__ring--fluid {
  border-color: #06b6d4;
  box-shadow:
    0 0 0 1px rgba(6, 182, 212, 0.35),
    0 0 24px rgba(6, 182, 212, 0.35),
    inset 0 0 16px rgba(0, 0, 0, 0.32);
}

.hub-core__body--fluid {
  background: radial-gradient(circle at 35% 30%, #0e7490 0%, #0f172a 55%, #020617 100%);
}

.hub-arm__inner--fluid {
  width: min(32vmin, 188px);
  margin-left: calc(-1 * min(16vmin, 94px));
  top: calc(-1 * min(35.8vmin, 208px));
}

.hub-node__icon--fluid {
  border-color: rgba(6, 182, 212, 0.55);
  color: #0e7490;
  background: linear-gradient(155deg, #ffffff 0%, #ecfeff 50%, #cffafe 100%);
}

.hub-node--fluid.hub-node--go:hover .hub-node__icon--fluid {
  border-color: #06b6d4;
  color: #0891b2;
  box-shadow:
    0 0 0 3px rgba(6, 182, 212, 0.28),
    0 10px 26px rgba(6, 182, 212, 0.18);
  background: linear-gradient(165deg, #ffffff 0%, #cffafe 100%);
}

.hub-node--go.hub-node--fluid .hub-node__icon--fluid {
  border-color: rgba(34, 211, 238, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .hub-core__mesh .hub-core__gear,
  .hub-core__pulse {
    animation: none !important;
  }

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

/* Tablet / ancho reducido: cabecera y márgenes (misma estructura que escritorio) */
@media (max-width: 900px) {
  .hub-header {
    padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
    padding-left: max(0.85rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.85rem, env(safe-area-inset-right, 0px));
    padding-bottom: 0.55rem;
    gap: 0.45rem 0.65rem;
  }

  .hub-header__right {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    gap: 0.42rem;
  }

  .hub-header__plans {
    font-size: 0.69rem;
    padding: 0.32rem 0.52rem;
    white-space: nowrap;
  }

  .hub-main {
    padding-left: max(0.65rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.65rem, env(safe-area-inset-right, 0px));
  }

  .hub-featured {
    padding-left: max(0.35rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.35rem, env(safe-area-inset-right, 0px));
  }

  .hub-zones {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
}

@media (max-width: 520px) {
  .hub-hero {
    min-height: 0;
    padding: 1.1rem 1rem 1.35rem;
    margin-bottom: 1.6rem;
    border-radius: 18px;
  }

  .hub-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    min-height: 0;
  }

  .hub-hero__content {
    padding: 0.25rem;
  }

  .hub-hero__mockup-wrap {
    max-width: 100%;
  }

  .hub-hero__mockup {
    max-width: 100%;
    transform: none;
    animation: none;
  }

  .hub-hero__mockup-live {
    margin-left: 0;
  }

  .hub-hero__subtitle {
    font-size: 1.05rem;
  }

  .hub-hero__desc p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .hub-hero__btn {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
  }

  .hub-header__tag {
    display: none;
  }

  .hub-lang__btn {
    min-height: 40px;
    min-width: 40px;
    padding: 0.35rem 0.62rem;
  }

  .hub-account__btn {
    min-height: 40px;
  }

  .hub-hero__mockup-head {
    padding: 0.72rem 0.75rem;
    gap: 0.35rem 0.45rem;
  }

  .hub-hero__mockup-url {
    font-size: 0.62rem;
  }

  .hub-hero__mockup-title {
    font-size: 0.92rem;
  }

  .hub-hero__mockup-tab {
    flex: 1 1 calc(33.333% - 0.35rem);
    min-height: 38px;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    font-size: 0.58rem;
    padding: 0.28rem 0.35rem;
  }

  .hub-hero__mockup-body {
    padding: 1rem 0.85rem 1.15rem;
  }

  .hub-footer-legal {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }

  .hub-hero__mockup-fields {
    grid-template-columns: 1fr;
  }

  .hub-hero__field--accent {
    grid-column: auto;
  }

  .hub-hero__mockup-kpis {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hub-zones__head {
    margin-bottom: 1rem;
  }

  .hub-zones__title {
    font-size: 1.45rem;
  }

  .hub-zones-grid {
    grid-template-columns: 1fr;
    gap: 1.55rem;
  }

  .hub-featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .hub-arm__inner {
    width: min(32vmin, 130px);
    margin-left: calc(-1 * min(16vmin, 65px));
    top: calc(-1 * min(46vmin, 240px));
  }

  .hub-arm__inner--lab {
    width: min(32vmin, 130px);
    margin-left: calc(-1 * min(16vmin, 65px));
    top: calc(-1 * min(46vmin, 240px));
  }

  .hub-arm__inner--fluid {
    width: min(32vmin, 130px);
    margin-left: calc(-1 * min(16vmin, 65px));
    top: calc(-1 * min(46vmin, 240px));
  }

  .hub-zone--machines .hub-arm__inner {
    width: min(30vmin, 108px);
    margin-left: calc(-1 * min(15vmin, 54px));
    top: calc(-1 * min(43vmin, 222px));
  }

  .hub-node__icon {
    width: min(17vmin, 58px);
    height: min(17vmin, 58px);
    border-radius: 12px;
  }

  .hub-node__label {
    font-size: 0.62rem;
    max-width: 6.4rem;
  }
}

@media (max-width: 420px) {
  .hub-featured__grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hub-featured-card {
    padding: 1rem 0.95rem 1rem;
  }

  .hub-featured__subtitle {
    font-size: 0.92rem;
    padding: 0 0.25rem;
  }
}

@media (min-width: 521px) and (max-width: 1180px) {
  .hub-hero {
    min-height: 0;
  }

  .hub-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hub-hero__mockup-col {
    justify-content: stretch;
  }

  .hub-hero__mockup-wrap {
    max-width: min(520px, 100%);
    margin: 0 auto;
  }

  .hub-hero__mockup {
    max-width: 100%;
    margin: 0 auto;
    transform: none;
    animation: none;
  }

  .hub-hero__content {
    padding-right: 0.25rem;
  }

  .hub-zones-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .hub-featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Pagina de sugerencias (feedback.html) */
a.hub-header__title--link {
  text-decoration: none;
  color: inherit;
}

a.hub-header__title--link:hover {
  color: #0f172a;
}

.hub-feedback-main {
  padding-bottom: 2rem;
}

.hub-feedback {
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.5rem;
}

.hub-feedback__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.hub-feedback__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.hub-feedback__lead {
  margin: 0 0 1.35rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #475569;
}

.hub-feedback__thanks {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.92rem;
  font-weight: 600;
}

.hub-feedback__error {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.92rem;
}

.hub-feedback__note {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
}

.hub-footer-legal--narrow {
  margin-top: 0;
  padding-top: 1rem;
}

/* Modo gratuito publico: oculta planes si JS aplico data-public-free-release */
html[data-public-free-release='1'] #hub-pricing,
html[data-public-free-release='1'] a.hub-header__plans[href='#hub-pricing'],
html[data-public-free-release='1'] p.hub-footnote--detail {
  display: none !important;
}
