/* ===== Páginas de SECTOR (compartido: constructoras, inmobiliarias, …) ===== */
/* El fondo claro lo aporta .blueprint-grid (global). Las bandas navy pintan su
   propio fondo. Los efectos "glass" (overlay sobre foto y órbita) son 100% CSS. */

body { min-height: 100vh; }
.sector { position: relative; }

/* ---------- Placeholder de imagen / mockup ---------- */
.sector-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(20, 42, 71, 0.22);
  border-radius: 18px;
  background: rgba(20, 42, 71, 0.03);
  overflow: hidden;
}
.sector-ph::after {
  content: "Imagen";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.sector-ph--mockup::after { content: "Mockup"; }
.sector-ph--wide { aspect-ratio: 16 / 10; }
.sector-ph > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sector-ph--mockup > img { object-fit: contain; height: auto; }
.sector-ph:has(img) { border: 0; background: none; }
.sector-ph:has(img)::after { content: none; }
/* El mockup es PNG transparente: que fluya a su alto natural, sin caja 4:3 */
.sector-ph--mockup:has(img) { aspect-ratio: auto; overflow: visible; }
/* Placeholders sobre banda navy: borde y etiqueta claros */
.sector-band .sector-ph { border-color: rgba(250, 248, 243, 0.28); background: rgba(250, 248, 243, 0.06); }
.sector-band .sector-ph::after { color: rgba(250, 248, 243, 0.6); }
/* Con imagen ya puesta, nada de caja (también en las bandas navy) */
.sector-band .sector-ph:has(img) { border: 0; background: none; }
/* Mockups con fondo transparente: sombra que sigue la silueta, no un rectángulo */
.sector-ph--mockup:has(img) { box-shadow: none; }
.sector-ph--mockup > img { filter: drop-shadow(0 22px 44px rgba(6, 16, 32, 0.42)); }

/* ============================ HERO ============================ */
.sector-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sector-hero__title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
}
.sector-hero__title em,
.sector-band__title em,
.sector-challenge__lead em,
.sector-platform__title em,
.sector-cta__title em {
  font-style: italic;
  color: var(--orange);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 500;
}
.sector-band__title em,
.sector-cta__title em { color: var(--orange-light); }
.sector-hero__subtitle {
  font-family: var(--sans);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--text-soft);
  margin: 22px 0 30px;
  max-width: 460px;
}
.sector-hero__media { position: relative; }

/* ============ HERO con FOTO de fondo a sangre (variante) ============
   Uso: <section class="sector-hero--photo" data-nav-theme="dark">
          <div class="sector-hero__bg"><img src="…" alt=""></div>
          <div class="sector-hero__inner"><div class="sector-hero__copy">…</div></div>
        </section>                                                        */
.sector-hero--photo {
  position: relative;
  overflow: hidden;
  /* Alto completo del viewport: así la siguiente sección no asoma en la
     primera pantalla (con 86vh se veía una franja de la banda navy). */
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  background: var(--navy);
  /* Full-bleed: ocupa el ancho completo del viewport, sin importar los
     márgenes/padding de cualquier contenedor padre. (body tiene
     overflow-x: hidden, así que no genera scroll horizontal.) */
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
.sector-hero__bg { position: absolute; inset: 0; z-index: 0; }
.sector-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Velo en degradado: oscuro donde va el texto, transparente del otro lado */
.sector-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 26, 46, 0.92) 0%, rgba(12, 26, 46, 0.72) 40%, rgba(12, 26, 46, 0.26) 100%);
}
.sector-hero--photo .sector-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.sector-hero--photo .sector-hero__copy { max-width: 640px; }
.sector-hero--photo .sector-hero__title { color: var(--paper); }
.sector-hero--photo .sector-hero__title em { color: var(--orange-light); }
.sector-hero--photo .sector-hero__subtitle {
  color: rgba(250, 248, 243, 0.88);
  max-width: 520px;
}
/* Resaltado dentro del subtítulo del hero */
.sector-hero__subtitle em {
  font-style: normal;
  font-weight: 600;
  color: var(--orange-light);
}
@media (max-width: 900px) {
  /* Padding superior amplio: baja el texto para que el personaje de la foto
     quede visible arriba */
  .sector-hero--photo { min-height: 0; padding: 300px 0 84px; }
  .sector-hero--photo .sector-hero__inner { padding: 0 24px; }
  /* El sujeto de la foto está a la derecha: al recortar en vertical se encuadra
     ese lado para que el personaje quede visible. */
  .sector-hero__bg img { object-position: 78% center; }
  /* Velo vertical: oscuro arriba (donde va el texto) y más claro abajo, para
     que se aprecie el personaje. */
  .sector-hero__bg::after {
    background: linear-gradient(180deg, rgba(12, 26, 46, 0.92) 0%, rgba(12, 26, 46, 0.86) 48%, rgba(12, 26, 46, 0.58) 100%);
  }
}

/* ==================== BANDA NAVY (base) ==================== */
.sector-band {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(46% 60% at 88% 8%, rgba(120, 165, 215, 0.18), transparent 70%),
    radial-gradient(40% 55% at 8% 92%, rgba(217, 119, 6, 0.14), transparent 70%),
    linear-gradient(160deg, #1B3556 0%, #142A47 55%, #0C1A2E 100%);
}
/* Cuadros (grid tenue) sobre las secciones navy, como en el resto del sitio */
.sector-band::before,
.sector-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250, 248, 243, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 248, 243, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}
/* El contenido va por encima del grid */
.sector-band > *,
.sector-cta > * { position: relative; z-index: 1; }

.sector-band__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 24px;
}
.sector-band__title--center { text-align: center; max-width: 20ch; margin-left: auto; margin-right: auto; }

/* ---- Sección: gran cantidad de decisiones ---- */
.sector-decisions { padding: 92px 0; }
.sector-decisions__head { max-width: 900px; margin: 0 auto 48px; padding: 0 24px; text-align: center; }
.sector-decisions .sector-band__title--center { padding: 0; margin-bottom: 0; max-width: 24ch; }
/* La columna izquierda lleva un solo párrafo: se ve un punto más grande */
.sector-decisions__text p { font-size: 17px; line-height: 1.75; }
/* El mockup de dispositivos se ve un 20% más grande (sin empujar el layout) */
.sector-decisions__media .sector-ph--mockup > img {
  transform: scale(1.2);
  transform-origin: center;
}
/* Una sola columna centrada: texto y luego el mockup */
.sector-decisions__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.sector-decisions__text { max-width: 62ch; }
.sector-decisions__text p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(250, 248, 243, 0.86);
  margin: 0 0 16px;
}
.sector-decisions__text p:last-child { margin-bottom: 0; }
.sector-decisions__media { width: 100%; max-width: 620px; }

/* ==================== EL RETO (claro) ==================== */
.sector-challenge {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 40px;
}
.sector-challenge__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-align: center;
  margin: 0 0 56px;
}
/* ---- "Implementarlo es sencillo": textos a la izquierda y tablet con video
   a la derecha. La sección se ensancha para que el mockup se vea mejor. ---- */
.sector-easy { max-width: 1300px; padding-left: 40px; padding-right: 40px; }
.sector-easy__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.sector-easy__head { max-width: none; margin: 0; text-align: left; }
.sector-easy .sector-challenge__title {
  margin-bottom: 10px;
  text-align: left;
  font-size: clamp(24px, 2.7vw, 34px);
}
.sector-easy__sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.2;
  color: var(--orange);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin: 0 0 20px;
}
.sector-easy__text {
  font-family: var(--sans);
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0;
  max-width: 42ch;
}
/* El pie "Ruta crítica" vive en la columna de texto, no bajo la tablet */
.sector-easy__head .sector-shot__caption { margin: 22px 0 0; }
/* Mockup centrado + pie de foto (al 60% del ancho de la sección) */
.sector-shot { margin: 44px auto 0; max-width: 540px; text-align: center; }
.sector-shot .sector-ph { aspect-ratio: auto; }
/* Variante con mockup de tablet (el video va dentro del marco): ocupa toda la
   columna, sin el tope de 640px de .tablet, para que se vea más grande */
.sector-shot--tablet { max-width: none; margin: 0; text-align: left; }
.sector-shot--tablet .tablet { max-width: none; }
/* El video es 16:9, así que la pantalla se ajusta a esa proporción */
.sector-shot--tablet .tablet__screen { aspect-ratio: 16 / 9; }
.sector-shot__caption {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text-soft);
}
.sector-shot__caption strong {
  font-weight: 700;
  color: var(--navy);
}
/* Separador tipo guion entre el nombre y la descripción */
.sector-shot__caption strong::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  margin-left: 10px;
  vertical-align: middle;
}

.sector-challenge__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.sector-challenge__media { position: relative; }
.sector-challenge__media .sector-ph { aspect-ratio: 4 / 3; }
/* Badges glass sobre la imagen (mismo lenguaje que .sector-glass, en claro) */
.sector-reto__badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 22px rgba(20, 42, 71, 0.16);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  color: var(--navy);
  white-space: nowrap;
}
.sector-reto__ic {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}
.sector-reto__badge--bad { top: 20px; left: 25%; transform: translateX(-50%); }
.sector-reto__badge--bad .sector-reto__ic { background: var(--danger); }
.sector-reto__badge--good { top: 20px; left: 75%; transform: translateX(-50%); }
.sector-reto__badge--good .sector-reto__ic { background: #3E9E63; }
.sector-challenge__lead {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 18px;
}
.sector-challenge__text p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0 0 16px;
}
.sector-challenge__text p:last-child { margin-bottom: 0; }

/* ============ SENTIRSE DIFERENTE (navy + overlay glass) ============ */
.sector-different { padding: 92px 0; }
/* Imagen (izquierda, en espejo) · texto */
.sector-different__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.sector-different__media--left .sector-ph > img { transform: scaleX(-1); }
.sector-different__text p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(250, 248, 243, 0.86);
  margin: 0 0 16px;
  max-width: 46ch;
}
.sector-different__text p:last-child { margin-bottom: 0; }
/* --- Lista de características (etiqueta en mono + descripción) --- */
.sector-feats { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.sector-feats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 18px;
  border-left: 2px solid rgba(217, 119, 6, 0.55);
}
.sector-feats__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-light);
}
.sector-feats__desc {
  font-family: var(--sans);
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--paper);
}
/* Etiquetas al final de la columna de texto (28px bajo la lista), a la izquierda.
   Selector con la misma especificidad que `.sector-different__text p` para que
   el margen no sea sobreescrito por esa regla. */
.sector-different__text .sector-feats__tags {
  margin: 28px 0 0;
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(250, 248, 243, 0.78);
}
.sector-feats__tags span { white-space: nowrap; }
/* El punto va DESPUÉS de cada etiqueta (así no queda colgado al inicio de la
   línea siguiente cuando el texto se envuelve) */
.sector-feats__tags span:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  color: var(--orange);
  font-weight: 700;
}

.sector-different__media { position: relative; }
.sector-different__media .sector-ph { aspect-ratio: 4 / 5; }

/* --- Tarjeta glass sobre la foto (100% CSS) --- */
.sector-glass {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(72%, 250px);
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 44px rgba(6, 16, 32, 0.35);
  color: var(--paper);
}
.sector-glass__title {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin: 0 0 14px;
}
.sector-glass__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.sector-glass__list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
}
.sector-glass__list li::before {
  content: "\2713";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(62, 158, 99, 0.92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ============ UNA SOLA PLATAFORMA (claro + órbita + tarjetas) ============ */
.sector-platform {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 40px;
  text-align: center;
}
.sector-platform__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 auto;
  max-width: 18ch;
}
.sector-platform__subtitle {
  font-family: var(--sans);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: var(--text-soft);
  margin: 18px auto 0;
  max-width: 640px;
}

/* --- Órbita estática (glass) --- */
.sector-orbit {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 48px auto 8px;
}
.sector-orbit__ring {
  position: absolute;
  inset: 20px;
  border: 1.5px dashed rgba(20, 42, 71, 0.22);
  border-radius: 50%;
}
.sector-orbit__ring--inner { inset: 84px; border-style: solid; border-color: rgba(20, 42, 71, 0.10); }
.sector-orbit__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 118px;
  height: 118px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(120, 165, 215, 0.35), transparent 60%),
    linear-gradient(150deg, #1E3A5F 0%, #0C1F45 100%);
  box-shadow: 0 18px 40px rgba(12, 26, 46, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--paper);
}
.sector-orbit__logo { width: 62px; height: auto; display: block; }
.sector-orbit__node {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -28px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(20, 42, 71, 0.12);
  box-shadow: 0 12px 26px rgba(20, 42, 71, 0.14);
}
.sector-orbit__node svg { width: 24px; height: 24px; }
/* 5 nodos repartidos cada 72° sobre el anillo (radio 150px) */
.sector-orbit__node--1 { transform: rotate(-90deg) translate(150px) rotate(90deg); color: var(--orange); }
.sector-orbit__node--2 { transform: rotate(-18deg) translate(150px) rotate(18deg); color: var(--azul-teckio); }
.sector-orbit__node--3 { transform: rotate(54deg) translate(150px) rotate(-54deg); color: #3E9E63; }
.sector-orbit__node--4 { transform: rotate(126deg) translate(150px) rotate(-126deg); color: var(--navy); }
.sector-orbit__node--5 { transform: rotate(198deg) translate(150px) rotate(-198deg); color: var(--orange); }

/* --- Tarjetas de áreas (bajo la órbita) --- */
.sector-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 44px;
  text-align: left;
}
.sector-card2 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px 24px;
  box-shadow: 0 14px 30px rgba(20, 42, 71, 0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.sector-card2:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(20, 42, 71, 0.12);
}
.sector-card2__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  margin-bottom: 16px;
  color: var(--azul-teckio);
  background: rgba(0, 64, 172, 0.08);
}
.sector-card2__icon svg { width: 21px; height: 21px; }
.sector-card2__icon--orange { color: var(--orange); background: rgba(217, 119, 6, 0.10); }
.sector-card2__icon--blue { color: var(--azul-teckio); background: rgba(0, 64, 172, 0.08); }
.sector-card2__icon--teal { color: #3E9E63; background: rgba(62, 158, 99, 0.10); }
.sector-card2__icon--navy { color: var(--navy); background: rgba(20, 42, 71, 0.07); }
.sector-card2 h3 {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 10px;
}
.sector-card2 p {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
}

/* ============ DIAGRAMA DE MÓDULOS (100% CSS, interactivo) ============
   Núcleo "Usuarios" + 8 nodos alrededor. Los 4 principales (Proyectos,
   Compras, Almacenes, Contabilidad) en navy con radio sólido; los de apoyo
   en claro con radio punteado; Configuración es el más discreto.
   Al hacer clic en un nodo se muestra su panel de detalle debajo. */
.modhub { max-width: 1120px; margin: 46px auto 0; }
.modhub__diagram {
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 1;
  /* aire inferior para los paneles de los módulos de abajo */
  margin: 0 auto clamp(20px, 14vw, 150px);
}
/* Anillo exterior tenue */
.modhub__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66%;
  height: 66%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(20, 42, 71, 0.10);
  border-radius: 50%;
}
/* Núcleo (círculo naranja con el texto de usuarios) */
.modhub__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38%;
  height: 38%;
  transform: translate(-50%, -50%);
  z-index: 2;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--orange);
  box-shadow: 0 14px 34px rgba(20, 42, 71, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8%;
  text-align: center;
}
.modhub__core-ic { width: clamp(38px, 5vw, 54px); height: auto; color: var(--navy); opacity: 0.55; }
.modhub__core-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(19px, 2.6vw, 30px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
}
.modhub__core-sub {
  font-family: var(--sans);
  font-size: clamp(9.5px, 1.1vw, 12px);
  line-height: 1.3;
  color: var(--text-soft);
}
/* Subrayado naranja bajo el texto del núcleo */
.modhub__core::after {
  content: "";
  width: 34%;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  margin-top: 6px;
}

/* --- Radios: van del anillo del núcleo al nodo --- */
.modhub__spoke {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 0;
  height: 42%;            /* llega exactamente al centro de cada módulo */
  transform-origin: bottom center;
  z-index: 1;
}
/* tramo visible (del borde del núcleo hacia afuera) */
.modhub__spoke::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 2px;
  height: 55%;            /* del borde del núcleo (19%) hacia afuera */
  background: rgba(20, 42, 71, 0.55);
}
/* punto sobre el anillo del núcleo */
.modhub__spoke::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 45%;   /* el punto queda justo sobre el anillo del núcleo */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}
/* variante de apoyo: línea punteada y punto navy */
.modhub__spoke--soft::before {
  width: 0;
  background: none;
  border-left: 1.5px dashed rgba(20, 42, 71, 0.26);
}
.modhub__spoke--soft::after { background: var(--navy); width: 8px; height: 8px; left: -4px; }
.modhub__spoke--n  { transform: rotate(0deg); }
.modhub__spoke--ne { transform: rotate(45deg); }
.modhub__spoke--e  { transform: rotate(90deg); }
.modhub__spoke--se { transform: rotate(135deg); }
.modhub__spoke--s  { transform: rotate(180deg); }
.modhub__spoke--sw { transform: rotate(225deg); }
.modhub__spoke--w  { transform: rotate(270deg); }
.modhub__spoke--nw { transform: rotate(315deg); }

/* --- Nodos --- */
.modhub__node {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: clamp(11px, 1.25vw, 13.5px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* estilo por defecto: nodo de apoyo (claro) */
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(20, 42, 71, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.modhub__node svg { width: 17px; height: 17px; color: var(--orange); flex: 0 0 auto; }
/* principales: navy */
.modhub__node--key {
  background: linear-gradient(150deg, #1E3A5F 0%, #142A47 100%);
  border-color: transparent;
  color: var(--paper);
  box-shadow: 0 14px 30px rgba(20, 42, 71, 0.22);
  padding: 15px 22px;
  font-size: clamp(11.5px, 1.35vw, 14.5px);
}
/* el más discreto */
.modhub__node--soft { color: var(--text-soft); box-shadow: 0 6px 16px rgba(20, 42, 71, 0.06); }
.modhub__node--soft svg { color: var(--text-soft); }
.modhub__node:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(20, 42, 71, 0.16); }
.modhub__node:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.modhub__node.is-active {
  background: linear-gradient(150deg, var(--orange-light) 0%, var(--orange) 100%);
  border-color: transparent;
  color: #fff;
}
.modhub__node.is-active svg { color: #fff; }
/* Cada módulo vive en un "slot" posicionado; el panel cuelga del slot, así el
   detalle aparece SIEMPRE debajo del módulo seleccionado. */
/* Los 8 módulos van al MISMO radio (42% del contenedor) para que el conector
   mida igual en todos: centro en (50%,50%) y desplazamiento por eje/diagonal
   (42 · cos45 = 29.7). Cada slot se centra con translate(-50%, -50%). */
.modhub__slot {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
}
.modhub__slot--n  { top: 8%;    left: 50%; }
.modhub__slot--s  { top: 92%;   left: 50%; }
.modhub__slot--w  { top: 50%;   left: 8%; }
.modhub__slot--e  { top: 50%;   left: 92%; }
.modhub__slot--nw { top: 20.3%; left: 20.3%; }
.modhub__slot--ne { top: 20.3%; left: 79.7%; }
.modhub__slot--sw { top: 79.7%; left: 20.3%; }
.modhub__slot--se { top: 79.7%; left: 79.7%; }
/* con un módulo abierto, su slot pasa al frente */
.modhub__slot.is-open { z-index: 5; }
.modhub__node { position: relative; }

/* --- Panel de detalle: cuelga justo debajo de su módulo --- */
.modpanel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: max-content;
  min-width: 100%;
  max-width: 250px;
  text-align: left;
  padding: 14px 16px 15px;
  border-radius: 14px;
  /* Vidrio translúcido (mismo lenguaje que el resto de los efectos glass) */
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 38px rgba(20, 42, 71, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
/* Los módulos del lado derecho alinean su panel a la derecha */
.modhub__slot--e .modpanel,
.modhub__slot--ne .modpanel,
.modhub__slot--se .modpanel { left: auto; right: 0; }
.modpanel[hidden] { display: none; }
.modpanel__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.modpanel__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--orange);
}
.modpanel__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
}
.modpanel__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.modpanel__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--text-soft);
}
.modpanel__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.65;
}
/* elementos destacados */
.modpanel__list li.is-key { color: var(--navy); font-weight: 600; }
.modpanel__list li.is-key::before { background: var(--orange); }
.modpanel__note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--orange);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

@media (max-width: 860px) {
  /* El radial no cabe: se convierte en ÁRBOL. El núcleo queda arriba y de él
     baja un conector vertical que recorre la lista de módulos, así se conserva
     la idea de que todo sale de "Usuarios". */
  .modhub__diagram {
    position: relative;
    width: 100%;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-left: 30px;   /* carril del conector */
  }
  /* Línea vertical del conector (desde el núcleo hasta el último módulo) */
  .modhub__diagram::before {
    content: "";
    position: absolute;
    left: 9px;
    top: min(74vw, 240px);   /* arranca bajo el núcleo */
    bottom: 26px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--orange) 0%, rgba(20, 42, 71, 0.30) 22%, rgba(20, 42, 71, 0.14) 100%);
  }
  .modhub__ring, .modhub__spoke { display: none; }
  .modhub__core {
    position: static;
    transform: none;
    width: min(64vw, 230px);
    height: min(64vw, 230px);
    margin: 0 auto 6px;
    align-self: center;
  }
  .modhub__node {
    /* relative (no static) para poder colgar los conectores, pero anulando los
       offsets del layout radial */
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: 100%;
    justify-content: flex-start;
  }
  /* Punto + brazo que unen cada módulo con el conector */
  .modhub__node::before {
    content: "";
    position: absolute;
    left: -21px;
    top: 50%;
    width: 17px;
    height: 2px;
    background: rgba(20, 42, 71, 0.22);
  }
  .modhub__node::after {
    content: "";
    position: absolute;
    left: -25px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    border-radius: 50%;
    background: var(--navy);
  }
  .modhub__node--key::after { background: var(--orange); }
  .modhub__node.is-active::after { background: var(--orange); box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.18); }
  .modhub__node:hover { transform: none !important; }
  .modpanel__list { grid-template-columns: 1fr; }
  .modpanel { padding: 22px 20px 24px; }
  /* Acordeón: el panel queda en flujo, justo debajo de su nodo */
  .modhub__slot { position: relative !important; inset: auto !important; transform: none !important; width: 100%; }
  .modhub__diagram { margin-bottom: 0; }
  .modpanel {
    position: static !important;
    width: 100% !important;
    min-width: 0;
    max-width: none;
    margin-top: -6px;
    border-radius: 0 0 16px 16px;
    border-top: 0;
    box-shadow: 0 14px 30px rgba(20, 42, 71, 0.10);
  }
  /* El nodo activo se "pega" a su panel */
  .modhub__node.is-active { border-radius: 12px 12px 0 0; }
}

/* --- Hub: órbita al centro + 6 notas "anotadas" alrededor --- */
.sector-hub {
  max-width: 1120px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 24px 48px;
  align-items: center;
  justify-items: center;
  text-align: left;
}
.sector-hub .sector-orbit { margin: 0; grid-column: 2; grid-row: 1 / 4; }
/* Notas al estilo "anotado a mano" (sin tarjeta): solo texto manuscrito
   con una flecha fina y curva que apunta al dashboard. */
.sector-note {
  position: relative;
  max-width: 250px;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.sector-note__title {
  font-family: "Caveat", cursive;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
  color: var(--navy);
  margin: 0;
}
/* posiciones alrededor del orbe */
.sector-note--tl { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; }
.sector-note--tr { grid-column: 3; grid-row: 1; justify-self: start; }
.sector-note--l  { grid-column: 1; grid-row: 2; justify-self: end; text-align: right; }
.sector-note--r  { grid-column: 3; grid-row: 2; justify-self: start; }
.sector-note--bl { grid-column: 1; grid-row: 3; justify-self: end; text-align: right; }
.sector-note--br { grid-column: 3; grid-row: 3; justify-self: start; }
/* Flecha fina y curva (estilo hecho a mano, como la referencia): trazo
   delgado navy con punta pequeña, apuntando desde la nota al dashboard. */
.sector-note__arrow {
  position: absolute;
  width: 64px;
  height: 40px;
  background: center/contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 48'%3E%3Cpath d='M4 10 C 22 2 46 8 70 34' fill='none' stroke='%23142A47' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M58 32 l12 3 l-4 -11' fill='none' stroke='%23142A47' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: 0.55;
}
/* Notas de la izquierda: la flecha sale del borde derecho hacia el centro */
.sector-note--tl .sector-note__arrow { right: -66px; bottom: -22px; }
.sector-note--l  .sector-note__arrow { right: -70px; top: 50%; transform: translateY(-50%) rotate(-18deg); }
.sector-note--bl .sector-note__arrow { right: -66px; top: -22px; transform: scaleY(-1); }
/* Notas de la derecha: espejadas */
.sector-note--tr .sector-note__arrow { left: -66px; bottom: -22px; transform: scaleX(-1); }
.sector-note--r  .sector-note__arrow { left: -70px; top: 50%; transform: translateY(-50%) scaleX(-1) rotate(18deg); }
.sector-note--br .sector-note__arrow { left: -66px; top: -22px; transform: scale(-1, -1); }

/* ============ TODA LA INFORMACIÓN (claro: título + dashboard anotado) ============ */
.sector-centralize {
  max-width: 1220px;
  margin: 0 auto;
  padding: 60px 40px 96px;
}
.sector-centralize__head { max-width: 760px; margin: 0 auto; text-align: center; }
.sector-centralize__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 16px;
}
.sector-centralize__title em {
  font-style: italic;
  color: var(--orange);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 500;
}
.sector-centralize__lead {
  font-family: var(--sans);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0;
}
/* El dashboard es el centro del hub, anotado por las 6 notas */
.sector-hub--dash { max-width: 1260px; gap: 40px 96px; }
.sector-hub__center { grid-column: 2; grid-row: 1 / 4; justify-self: center; align-self: center; width: min(42vw, 500px); }
/* La imagen del dashboard (con transparencia) se muestra a su alto natural */
.sector-hub__center:has(img) { aspect-ratio: auto; overflow: visible; }
.sector-hub__center > img { object-fit: contain; height: auto; }
.sector-hub--dash .sector-note { max-width: 250px; }

/* ============ MOCKUP DE LAPTOP (compartido, mismo que modulos.html) ============
   Marco de laptop en CSS para enmarcar capturas 16:10 del ERP. */
.laptop { position: relative; width: 100%; max-width: 820px; margin: 0 auto; }
.laptop-screen {
  position: relative;
  background: #1d1d1f;
  padding: 14px 14px 18px;
  border-radius: 14px 14px 6px 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(20, 42, 71, 0.18),
    0 2px 4px rgba(20, 42, 71, 0.08);
}
.laptop-screen::before {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.laptop-display {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--paper);
  border-radius: 3px;
  overflow: hidden;
}
.laptop-display img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.laptop-base {
  position: relative;
  height: 14px;
  margin: 0 -32px;
  background: linear-gradient(180deg, #c4c4c4 0%, #a4a4a4 30%, #888 60%, #6b6b6b 100%);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 14px 28px rgba(20, 42, 71, 0.18);
}
.laptop-base::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 6px;
  background: #5a5a5a;
  border-radius: 0 0 8px 8px;
}

/* ============ ÓRBITA DE INTEGRACIONES (compartida) ============
   Réplica de la órbita del index (`.orbit*` en page-index.css), sin el panel
   de detalle: gira sola y se pausa al pasar el cursor. page-index.css no se
   carga en las páginas de sector, así que no hay conflicto de nombres. */
.orbit {
  --orbit-r: 235px;
  --orbit-step: 60deg;   /* separación angular entre nodos (6 nodos = 60°) */
  position: relative;
  width: 600px;
  height: 600px;
  max-width: 92vw;
  margin: 0 auto;
}
.orbit__glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 420px; height: 420px;
  max-width: 78%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(217, 119, 6, 0.22),
    rgba(61, 111, 180, 0.16) 42%,
    rgba(245, 158, 11, 0.14) 60%,
    transparent 72%);
  animation: orbitGlow 6s ease-in-out infinite;
}
.orbit__ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(20, 42, 71, 0.10);
  pointer-events: none;
}
.orbit__ring--1 { width: calc(var(--orbit-r) * 2); height: calc(var(--orbit-r) * 2); }
.orbit__ring--2 { width: calc(var(--orbit-r) * 1.28); height: calc(var(--orbit-r) * 1.28); border-color: rgba(20, 42, 71, 0.06); }
.orbit__center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.orbit__center img { width: 100px; height: auto; }
.orbit__spin {
  position: absolute;
  inset: 0;
  animation: orbitSpin 46s linear infinite;
}
.orbit__node {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  transform: rotate(calc(var(--i) * var(--orbit-step))) translateY(calc(-1 * var(--orbit-r)));
}
.orbit__upright {
  position: absolute;
  transform: translate(-50%, -50%) rotate(calc(var(--i) * var(--orbit-step) * -1));
}
/* Contra-rotación para que icono y texto no giren respecto a la pantalla */
.orbit__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 116px;
  animation: orbitCounter 46s linear infinite;
}
.orbit__badge {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(20, 42, 71, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.orbit__badge svg { width: 28px; height: 28px; }
.orbit__badge--green  { color: var(--green); }
.orbit__badge--orange { color: var(--orange); }
.orbit__badge--blue   { color: var(--blue); }
.orbit__label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.orbit__item:hover .orbit__badge {
  transform: scale(1.1);
  box-shadow: 0 16px 34px rgba(20, 42, 71, 0.22), inset 0 0 0 1px rgba(20, 42, 71, 0.06);
}
/* Pausa al pasar el cursor para poder leer */
.orbit:hover .orbit__spin,
.orbit:hover .orbit__item { animation-play-state: paused; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitCounter { to { transform: rotate(-360deg); } }
@keyframes orbitGlow {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .orbit__spin, .orbit__item, .orbit__glow { animation: none; }
}

/* ============ MOCKUP DE TELÉFONO (compartido) ============
   Marco de teléfono en CSS para capturas 9:19.5 de la app. */
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 11px;
  border-radius: 40px;
  background: linear-gradient(150deg, #3A3F48 0%, #1E2129 55%, #12141A 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    0 30px 70px rgba(6, 16, 32, 0.45),
    0 6px 14px rgba(6, 16, 32, 0.24);
}
/* Botones laterales */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
}
.phone::before { top: 22%; height: 8%; }
.phone::after  { top: 34%; height: 13%; }
.phone__screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 30px;
  overflow: hidden;
  background: var(--paper);
}
.phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* Isla / notch */
/* Isla: se coloca sobre la franja de estado de la captura, como en un teléfono
   real (no la tapa: cae en el hueco central entre la hora y los iconos). */
.phone__notch {
  position: absolute;
  top: 13px; left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 17px;
  border-radius: 10px;
  background: #0B0D11;
  z-index: 2;
}

/* ============ MOCKUP DE TABLET (compartido) ============
   Marco de tablet horizontal en CSS, para capturas ~16:10 del ERP. */
.tablet {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 14px 22px;
  border-radius: 26px;
  background: linear-gradient(160deg, #33373F 0%, #1D2027 55%, #12141A 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 28px 64px rgba(20, 42, 71, 0.26),
    0 4px 10px rgba(20, 42, 71, 0.12);
}
/* Cámara en el bisel corto (tablet en horizontal) */
.tablet::before {
  content: "";
  position: absolute;
  left: 9px; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.tablet__screen {
  position: relative;
  aspect-ratio: 1050 / 658;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
}
.tablet__screen img,
.tablet__screen video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ CTA FINAL (navy + el mismo formulario del index) ============ */
.sector-cta {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(46% 60% at 88% 8%, rgba(120, 165, 215, 0.18), transparent 70%),
    radial-gradient(40% 55% at 8% 92%, rgba(217, 119, 6, 0.14), transparent 70%),
    linear-gradient(160deg, #1B3556 0%, #142A47 55%, #0C1A2E 100%);
}
.sector-cta__inner { max-width: 940px; margin: 0 auto; padding: 0 40px; }
.sector-cta__text { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.sector-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 16px;
}
.sector-cta__eyebrow::before,
.sector-cta__eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--orange-light); }
.sector-cta__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 16px;
}
.sector-cta__text p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(250, 248, 243, 0.86);
  margin: 0 auto 20px;
}
/* Subtítulo corto del CTA ("¿Empezamos?") */
.sector-cta__text .sector-cta__sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  color: var(--orange-light);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin: 0 auto 26px;
}
.sector-cta__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.sector-cta__checks li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--paper);
}
.sector-cta__checks li::before {
  content: "\2713"; flex: 0 0 auto;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(217, 119, 6, 0.9); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}

/* --- Formulario del index (solicitud-demo) reutilizado --- */
.demo-form__form {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(6, 16, 32, 0.4);
}
.hp-field { display: none; }
.demo-form__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.demo-form__col { display: flex; flex-direction: column; gap: 16px; }
.demo-form__form .field { display: flex; flex-direction: column; }
.demo-form__form .field[hidden] { display: none; }
.demo-form__form .field label { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.demo-form__form .field .req { color: var(--orange); }
.demo-form__form input,
.demo-form__form select {
  padding: 11px 14px;
  border: 1px solid rgba(20, 42, 71, 0.3);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.demo-form__form .field label { color: var(--navy); }
.demo-form__form input:focus,
.demo-form__form select:focus { border-color: var(--azul-teckio); box-shadow: 0 0 0 3px rgba(0, 64, 172, 0.15); }
.demo-form__form select option { color: var(--navy); background: var(--paper); }
.demo-form__form select:disabled { opacity: 0.5; cursor: not-allowed; }
.demo-form__foot { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.demo-form__consent { display: flex; gap: 12px; align-items: flex-start; max-width: 640px; font-family: var(--sans); font-size: 13.5px; line-height: 1.5; color: var(--text-soft); cursor: pointer; }
.demo-form__consent input[type="checkbox"] { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; border-radius: 5px; accent-color: var(--orange); cursor: pointer; }
.demo-form__consent a { color: var(--orange); font-weight: 600; }
.demo-form__consent a:hover { text-decoration: underline; }
.demo-form__submit { width: auto; min-width: 280px; justify-content: center; }
/* Validación (demo-form.js) */
.demo-form__form input.is-invalid,
.demo-form__form select.is-invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15) !important; }
.demo-form__consent input[type="checkbox"].is-invalid { outline: 2px solid var(--danger); outline-offset: 2px; }
.demo-form__consent.is-invalid { color: var(--danger); }
.demo-form__error { color: var(--danger); font-family: var(--sans); font-size: 12.5px; line-height: 1.35; margin-top: 6px; }
.demo-form__alert { width: 100%; max-width: 640px; text-align: center; color: var(--danger); font-family: var(--sans); font-size: 13.5px; font-weight: 500; padding: 10px 14px; border: 1px solid rgba(192, 57, 43, 0.4); border-radius: 10px; background: rgba(192, 57, 43, 0.08); }
@media (max-width: 640px) {
  .demo-form__form { padding: 26px 20px; }
  .demo-form__cols { grid-template-columns: 1fr; gap: 16px; }
  .demo-form__submit { width: 100%; min-width: 0; }
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 900px) {
  .sector-hero,
  .sector-decisions__inner,
  .sector-challenge__grid,
  .sector-different__inner,
  .sector-centralize__inner,
  .sector-cta__inner { grid-template-columns: 1fr; }
  .sector-cards { grid-template-columns: repeat(2, 1fr); }
  .sector-hero { gap: 36px; padding: 110px 24px 56px; text-align: center; }
  .sector-hero__subtitle { margin-left: auto; margin-right: auto; }
  .sector-decisions, .sector-different, .sector-cta { padding: 72px 0; }
  .sector-decisions__inner,
  .sector-different__inner,
  .sector-cta__inner { padding: 0 24px; gap: 36px; }
  .sector-challenge, .sector-platform { padding: 72px 24px; }
  /* Implementación: una columna (textos arriba, tablet abajo) y centrado */
  .sector-easy { padding-left: 24px; padding-right: 24px; }
  .sector-easy__inner { grid-template-columns: 1fr; gap: 34px; }
  .sector-easy__head { text-align: center; }
  .sector-easy .sector-challenge__title { text-align: center; }
  .sector-easy__text { margin: 0 auto; max-width: 56ch; }
  .sector-shot--tablet { text-align: center; margin: 0 auto; max-width: 620px; }
  .sector-centralize { padding: 24px 24px 72px; }
  .sector-challenge__lead { text-align: left; }
  .sector-centralize__media { order: -1; }
}
@media (max-width: 560px) {
  .sector-cards { grid-template-columns: 1fr; }
  .sector-reto__badge { font-size: 10px; padding: 4px 8px; }
  .sector-reto__badge--bad { top: 12px; left: 25%; }
  .sector-reto__badge--good { top: 12px; left: 75%; right: auto; }
  .sector-glass { position: static; width: auto; margin-top: 14px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20, 42, 71, 0.55); }
  .sector-orbit { width: 280px; height: 280px; }
  .sector-orbit__node { width: 48px; height: 48px; margin: -24px; }
  .sector-orbit__node svg { width: 20px; height: 20px; }
  /* Radio menor (280/2 - 20 = 120) */
  .sector-orbit__node--1 { transform: rotate(-90deg) translate(120px) rotate(90deg); }
  .sector-orbit__node--2 { transform: rotate(-18deg) translate(120px) rotate(18deg); }
  .sector-orbit__node--3 { transform: rotate(54deg) translate(120px) rotate(-54deg); }
  .sector-orbit__node--4 { transform: rotate(126deg) translate(120px) rotate(-126deg); }
  .sector-orbit__node--5 { transform: rotate(198deg) translate(120px) rotate(-198deg); }
  .sector-orbit__center { width: 100px; height: 100px; }
  .sector-orbit__logo { width: 54px; }
}

/* --- TABLET (≈900px): se conserva el layout de escritorio (3 + dashboard + 3),
   solo se escalan texto, notas y flechas para que quepan. --- */
@media (max-width: 1040px) {
  .sector-hub--dash { gap: 28px 60px; }
  .sector-hub--dash .sector-note { max-width: 190px; }
  .sector-note__title { font-size: 20px; }
  .sector-note__arrow { width: 46px; height: 30px; }
  .sector-note--tl .sector-note__arrow,
  .sector-note--bl .sector-note__arrow { right: -48px; }
  .sector-note--tr .sector-note__arrow,
  .sector-note--br .sector-note__arrow { left: -48px; }
  .sector-note--l .sector-note__arrow { right: -50px; }
  .sector-note--r .sector-note__arrow { left: -50px; }
}
@media (max-width: 820px) {
  .sector-hub--dash { gap: 22px 34px; }
  .sector-hub--dash .sector-note { max-width: 150px; }
  .sector-note__title { font-size: 17px; }
  .sector-note__arrow { display: none; }
}

/* --- MÓVIL (≤640px): ZIGZAG. El dashboard arriba y las notas debajo,
   alternando izquierda/derecha, sin flechas. --- */
@media (max-width: 640px) {
  .sector-hub {
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: stretch;
  }
  .sector-hub .sector-orbit,
  .sector-hub__center {
    grid-column: 1;
    grid-row: auto;
    order: -1;
    width: 100%;
    max-width: 100%;
    justify-self: center;
    margin-bottom: 26px;
  }
  .sector-hub--dash { gap: 0; }
  /* Todas en una columna, alternando lado */
  .sector-note {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 88%;
    max-width: none;
    margin: 0 0 28px;
  }
  .sector-hub--dash .sector-note { max-width: none; }
  .sector-note:last-child { margin-bottom: 0; }
  .sector-note--tl,
  .sector-note--l,
  .sector-note--bl { justify-self: start !important; text-align: left !important; }
  .sector-note--tr,
  .sector-note--r,
  .sector-note--br { justify-self: end !important; text-align: right !important; }
  .sector-note__title { font-size: 19px; line-height: 1.35; }
  /* Sin flechas en móvil (el dashboard queda arriba, no al lado) */
  .sector-note__arrow { display: none; }
  /* Aire extra abajo para que los botones flotantes (WhatsApp/chat) no tapen
     la última nota. */
  .sector-centralize { padding-bottom: 120px; }
}
