/* Capa visual moderna (octubre 2026). Se carga después de site.css.
 * Para volver al diseño anterior basta con quitar el <link> a este archivo.
 */
:root {
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 4px 14px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.18);
  --navy-2: #12355a;
  --navy-3: #1b4a78;
  --fact: #12796b;
  --kipu: #2e6be6;
  --people: #6d28d9;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Encabezado ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow 0.3s, background 0.3s;
}
.header-inner {
  transition: min-height 0.3s var(--ease);
}
.is-scrolled .site-header {
  box-shadow: 0 6px 24px rgba(10, 37, 64, 0.08);
}
.is-scrolled .header-inner {
  min-height: 74px;
}
.brand img {
  transition: transform 0.3s var(--ease);
}

/* ---------- Botones ---------- */
.button {
  border-radius: 999px;
  padding-inline: 26px;
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.16);
  transition:
    background 0.22s,
    transform 0.22s var(--ease),
    box-shadow 0.22s,
    border-color 0.22s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(10, 37, 64, 0.24);
}
.button .arrow {
  transition: transform 0.22s var(--ease);
}
.button:hover .arrow,
.text-link:hover .arrow,
.path-card:hover .arrow {
  transform: translate(3px, -3px);
}
.button.light,
.button.ghost {
  box-shadow: none;
}
.button.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.button.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

/* ---------- Tarjetas ---------- */
.path-card,
.service-card,
.product-card,
.demo-scene,
.quote-panel,
.editorial-note,
.price-box,
.contact-form {
  border-radius: var(--radius);
}
.path-card,
.service-card,
.product-card {
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    border-color 0.35s;
}
.path-card:hover,
.service-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.path-card.second {
  background: linear-gradient(160deg, #fff 0%, var(--paper) 100%);
}
select,
input,
textarea {
  border-radius: 10px;
}

/* ---------- Héroes de páginas internas ---------- */
.split-hero {
  position: relative;
  isolation: isolate;
}
.split-hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -50vw;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(201, 166, 107, 0.18), transparent 70%),
    radial-gradient(700px 360px at 10% 0%, rgba(46, 107, 230, 0.08), transparent 70%);
  pointer-events: none;
}
.split-hero h1 .accent,
.suite-header h1 .accent {
  background: linear-gradient(90deg, var(--gold-text), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Cierre ---------- */
.closing {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(900px 400px at 90% 120%, rgba(201, 166, 107, 0.28), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.closing:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
}

/* ---------- Animación de entrada escalonada ---------- */
.motion-ready .reveal:not(.in-view) {
  transform: translateY(26px);
}
.reveal {
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

/* =====================================================
 * INICIO
 * ===================================================== */
.hx {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--navy);
  padding: 92px 0 84px;
}
.hx-bg {
  position: absolute;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(40% 50% at 15% 20%, rgba(46, 107, 230, 0.45), transparent 70%),
    radial-gradient(35% 45% at 85% 15%, rgba(201, 166, 107, 0.4), transparent 70%),
    radial-gradient(45% 55% at 70% 90%, rgba(18, 121, 107, 0.45), transparent 70%),
    radial-gradient(35% 40% at 25% 95%, rgba(109, 40, 217, 0.35), transparent 70%);
  filter: blur(10px);
  animation: hx-drift 22s ease-in-out infinite alternate;
}
.hx:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
@keyframes hx-drift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(3%, -2%, 0) rotate(6deg) scale(1.05); }
  100% { transform: translate3d(-3%, 2%, 0) rotate(-4deg) scale(1.02); }
}
.hx-head {
  max-width: 880px;
  margin: 0 auto 54px;
  text-align: center;
}
.hx .eyebrow {
  justify-content: center;
  color: var(--gold);
}
.hx .eyebrow:after {
  content: "";
  height: 1px;
  width: 30px;
  background: var(--gold);
}
.hx h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 84px);
}
.hx h1 .accent {
  background: linear-gradient(90deg, #e4c78f, var(--gold) 45%, #f3e2bf);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hx-shine 6s linear infinite;
}
@keyframes hx-shine {
  to { background-position: -200% 0; }
}
.hx .lead {
  color: #c9d4e0;
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 640px;
  margin: 24px auto 0;
}
.hx-ask {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fb2c6;
}
.hx-ask .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 166, 107, 0.7);
  animation: hx-pulse 2s infinite;
}
@keyframes hx-pulse {
  70% { box-shadow: 0 0 0 12px rgba(201, 166, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 166, 107, 0); }
}
.choose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.choice {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 34px 34px 30px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    border-color 0.45s,
    background 0.45s,
    box-shadow 0.45s;
}
.choice:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.14), transparent 60%);
  transition: opacity 0.4s;
  pointer-events: none;
}
.choice > * {
  position: relative;
  z-index: 1;
}
.choice:hover,
.choice:focus-within {
  transform: translateY(-6px);
  border-color: rgba(201, 166, 107, 0.65);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.choice:hover:before {
  opacity: 1;
}
.choice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.choice-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.choice.suite .choice-tag {
  background: rgba(201, 166, 107, 0.22);
  color: #f1dcb3;
}
.choice-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}
.choice-icon svg {
  width: 30px;
  height: 30px;
}
.mods {
  display: flex;
}
.mods img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 2px solid var(--navy);
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}
.mods img + img {
  margin-left: -10px;
}
.choice:hover .mods img:nth-child(1) { transform: translateX(-6px) rotate(-6deg); }
.choice:hover .mods img:nth-child(3) { transform: translateX(6px) rotate(6deg); }
.choice h2 {
  color: #fff;
  font-size: clamp(28px, 2.6vw, 38px);
  margin-bottom: 14px;
}
.choice > p {
  color: #c2cedb;
  font-size: 16px;
  max-width: 440px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13.5px;
  color: #e3eaf1;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.choice:hover .chips li {
  border-color: rgba(255, 255, 255, 0.28);
}
.chips li:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.choice-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.choice-actions .button {
  gap: 14px;
  min-height: 48px;
}
.choice.suite .choice-actions .button.gold {
  box-shadow: 0 10px 30px rgba(201, 166, 107, 0.35);
}
.choice-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}

/* Cifras */
.facts {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fact {
  padding: 38px 28px;
  border-left: 1px solid var(--line);
}
.fact:first-child {
  border-left: 0;
  padding-left: 0;
}
.fact strong {
  display: block;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 10px;
}
.fact strong small {
  font-size: 0.5em;
  letter-spacing: 0;
  color: var(--gold-text);
  margin-right: 4px;
}
.fact span {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

/* Módulos en pestañas */
.modules {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.mod-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 34px;
}
.mod-tab {
  --c: var(--fact);
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.mod-tab[data-mod="kipu"] { --c: var(--kipu); }
.mod-tab[data-mod="people"] { --c: var(--people); }
.mod-tab img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}
.mod-tab strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
}
.mod-tab span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}
.mod-tab:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--c);
}
.mod-tab[aria-selected="true"] {
  border-color: var(--c);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}
.mod-tab[aria-selected="true"]:after {
  animation: mod-progress var(--mod-time, 7s) linear forwards;
}
.mods-paused .mod-tab[aria-selected="true"]:after {
  animation: none;
  width: 100%;
}
@keyframes mod-progress {
  to { width: 100%; }
}
.mod-stage {
  position: relative;
  min-height: 470px;
}
.mod-panel {
  --c: var(--fact);
  position: absolute;
  inset: 0;
  padding: 34px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(255, 255, 255, 0.18), transparent 70%),
    linear-gradient(150deg, var(--c), var(--navy) 120%);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.mod-panel[data-mod="kipu"] { --c: var(--kipu); }
.mod-panel[data-mod="people"] { --c: var(--people); }
.mod-panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mod-panel[hidden] {
  display: block;
}
.mod-panel h3 {
  color: #fff;
  font-size: clamp(26px, 2.4vw, 34px);
  margin-bottom: 10px;
}
.mod-panel > p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 460px;
}
.mod-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 26px 0;
}
.mod-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14.5px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mod-panel.is-active .mod-list li {
  opacity: 1;
  transform: none;
}
.mod-panel.is-active .mod-list li:nth-child(2) { transition-delay: 0.08s; }
.mod-panel.is-active .mod-list li:nth-child(3) { transition-delay: 0.16s; }
.mod-panel.is-active .mod-list li:nth-child(4) { transition-delay: 0.24s; }
.mod-list li:before {
  content: "✓";
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: var(--c);
  font-size: 12px;
  font-weight: 700;
}
.mod-panel .text-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.mod-panel .mod-actions {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
}
.mod-panel .button {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* Ciclo MJQ */
.cycle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 48px;
  counter-reset: step;
  position: relative;
}
.cycle:before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease);
}
.cycle.in-view:before,
html:not(.motion-ready) .cycle:before {
  transform: scaleX(1);
}
.cycle li {
  list-style: none;
  position: relative;
}
.cycle-dot {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 0 0 8px var(--paper);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.cycle li:hover .cycle-dot {
  background: var(--navy);
  color: #fff;
  transform: scale(1.08);
}
.cycle h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.cycle p {
  font-size: 15px;
  color: var(--muted);
  padding-right: 10px;
}

/* Comparación resumida en inicio */
.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.why-card {
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

/* Socios */
.partners {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.partners .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.partners a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
  color: var(--navy);
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.partners a:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* =====================================================
 * COMPARACIÓN VISUAL
 * ===================================================== */
.vs-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 8px 0 26px;
  font-size: 14px;
  color: var(--muted);
}
.vs-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vs-score {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.vs-score-card {
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  transition: opacity 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.vs-score-card.own {
  background: linear-gradient(150deg, var(--navy), var(--navy-3));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 40px rgba(10, 37, 64, 0.3);
}
.vs-score-card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.vs-score-card.own h3 {
  color: #fff;
}
.vs-score-card .num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.vs-score-card.own .num {
  color: #fff;
}
.vs-score-card .num small {
  font-size: 15px;
  letter-spacing: 0;
  color: var(--muted);
}
.vs-score-card.own .num small {
  color: #b9c7d6;
}
.vs-bar {
  display: flex;
  height: 10px;
  margin: 14px 0 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8ecef;
}
.vs-score-card.own .vs-bar {
  background: rgba(255, 255, 255, 0.15);
}
.vs-bar i {
  display: block;
  height: 100%;
  width: 0;
  transition: width 1.2s var(--ease);
}
.vs-bar .yes {
  background: var(--teal);
}
.vs-score-card.own .vs-bar .yes {
  background: linear-gradient(90deg, var(--gold), #f1dcb3);
}
.vs-bar .part {
  background: repeating-linear-gradient(-45deg, #e0a93f, #e0a93f 4px, #f2cf8b 4px, #f2cf8b 8px);
}
.vs-score-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.vs-score-card.own p {
  color: #c5d2df;
}
.vs-filter {
  display: none;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
}
.vs-filter button {
  flex: none;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  color: var(--navy);
}
.vs-filter button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.vs-table-wrap {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.vs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.vs-table th,
.vs-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.vs-table tbody tr:last-child > * {
  border-bottom: 0;
}
.vs-table thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: #fafbfa;
  position: relative;
}
.vs-table thead th.own {
  color: #fff;
  background: var(--navy);
}
.vs-table thead th.own:after {
  content: "Recomendado";
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.vs-table tbody th {
  width: 24%;
  font-weight: 500;
  color: var(--navy);
}
.vs-table tbody th small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.vs-table td.own {
  background: #f3f8f6;
  box-shadow: inset 2px 0 0 var(--teal), inset -2px 0 0 var(--teal);
}
.vs-table tbody tr:last-child td.own {
  box-shadow: inset 2px 0 0 var(--teal), inset -2px 0 0 var(--teal), inset 0 -2px 0 var(--teal);
}
.vs-table tbody tr {
  transition: background 0.2s;
}
.vs-table tbody tr:hover {
  background: #fbfaf6;
}
.vs-cell {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.4;
  color: var(--ink);
}
.vs-cell em {
  font-style: normal;
  color: var(--muted);
  font-size: 13.5px;
}
.vs-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.vs-ico.yes {
  background: var(--teal);
  color: #fff;
}
.vs-ico.part {
  background: #fbefd6;
  color: #9a6512;
  border: 1.5px solid #e0a93f;
}
.vs-ico.no {
  background: #f8e3e1;
  color: #b4362a;
}
.vs-ico.unk {
  background: #edf0f2;
  color: #6b7884;
}
.motion-ready .vs-table td .vs-ico {
  transform: scale(0.4);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s;
  transition-delay: var(--d, 0s);
}
.motion-ready .vs-table.in-view td .vs-ico {
  transform: none;
  opacity: 1;
}
.vs-takeaway {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.vs-takeaway div {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.vs-takeaway strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.vs-takeaway p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .modules,
  .why {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cycle {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cycle:before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    transform-origin: top;
    transform: scaleY(0);
  }
  .cycle.in-view:before,
  html:not(.motion-ready) .cycle:before {
    transform: scaleY(1);
  }
  .cycle li {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 20px;
    padding-bottom: 18px;
  }
  .cycle-dot {
    grid-row: span 2;
    margin: 0;
  }
  .vs-score {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .choose {
    grid-template-columns: 1fr;
  }
  .choice {
    min-height: 0;
  }
  .facts-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fact:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .vs-takeaway {
    grid-template-columns: 1fr;
  }
  /* En móvil la tabla muestra Q-Suite frente a una alternativa a la vez */
  .vs-filter {
    display: flex;
  }
  .vs-table[data-show] [data-alt] {
    display: none;
  }
  .vs-table[data-show="concar"] [data-alt="concar"],
  .vs-table[data-show="odoo"] [data-alt="odoo"],
  .vs-table[data-show="excel"] [data-alt="excel"] {
    display: table-cell;
  }
  .vs-table thead th:first-child {
    display: none;
  }
  .vs-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .vs-table tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding-bottom: 4px;
    border-bottom: 0;
    background: #fafbfa;
  }
  .vs-table thead tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .vs-table thead th.own:after {
    display: none;
  }
  .vs-table td.own,
  .vs-table tbody tr:last-child td.own {
    box-shadow: inset 3px 0 0 var(--teal);
  }
}
@media (max-width: 640px) {
  .hx {
    padding: 64px 0 56px;
  }
  .hx-head {
    margin-bottom: 36px;
  }
  .choice {
    padding: 26px 22px 24px;
    border-radius: 22px;
  }
  .mod-stage {
    min-height: 560px;
  }
  .mod-panel {
    padding: 26px 22px;
  }
  .mod-panel .mod-actions {
    left: 22px;
    right: 22px;
  }
  .mod-list {
    grid-template-columns: 1fr;
  }
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .fact,
  .fact:nth-child(3) {
    border-left: 0;
    padding: 24px 0;
  }
  .fact + .fact {
    border-top: 1px solid var(--line);
  }
  .vs-score {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .vs-score-card {
    padding: 16px;
  }
  .vs-score-card .num {
    font-size: 32px;
  }
  .vs-table th,
  .vs-table td {
    padding: 13px 12px;
    font-size: 13.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hx-bg,
  .hx h1 .accent,
  .hx-ask .pulse {
    animation: none;
  }
  .mod-tab[aria-selected="true"]:after {
    animation: none;
    width: 100%;
  }
  .choice,
  .path-card,
  .service-card,
  .product-card,
  .button {
    transition: none;
  }
}

/* Evita scroll horizontal por los degradados que salen del contenedor
 * (clip no rompe el encabezado fijo, a diferencia de hidden). */
html,
body {
  overflow-x: clip;
}
.quote-choice,
.form-field input,
.form-field select,
.form-field textarea {
  border-radius: var(--radius-sm);
}

/* Socios estratégicos en el encabezado */
.nav-partner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 6px 5px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.nav-partner:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.nav-partner-label {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.partner-logos {
  position: relative;
  display: grid;
}
.header-nav .partner-logos a.partner-logo {
  grid-area: 1 / 1;
  padding: 0;
  transition: opacity 0.6s, transform 0.6s var(--ease);
}
.header-nav .nav-partner a:after {
  display: none;
}
.partner-logos.is-rotating .partner-logo:not(.is-active) {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}
.partner-logo img {
  height: 58px;
  width: auto;
  margin: -6px 0;
  transition: height 0.3s var(--ease);
}
.is-scrolled .partner-logo img {
  height: 46px;
}
.header-nav .nav-partner a.partner-join {
  display: block;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--muted);
  transition: background 0.25s, color 0.25s;
}
.partner-join strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.partner-join strong span {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.header-nav .nav-partner a.partner-join:hover {
  background: var(--navy);
  color: #c5d2df;
}
.header-nav .nav-partner a.partner-join:hover strong {
  color: #fff;
}
.partner-join:hover strong span {
  transform: translateX(3px);
}
@media (max-width: 1240px) and (min-width: 801px) {
  .header-nav {
    gap: 20px;
  }
  .nav-partner-label {
    display: none;
  }
}
.header-nav a,
.partner-join strong {
  white-space: nowrap;
}
.partner-join-q {
  display: block;
}
@media (max-width: 1100px) and (min-width: 801px) {
  .partner-join-q {
    display: none;
  }
  .header-nav .nav-partner a.partner-join {
    padding: 9px 12px;
  }
}
@media (max-width: 800px) {
  .nav-partner {
    justify-content: space-between;
  }
  .header-nav .nav-partner a.partner-join {
    margin-left: auto;
  }
}
.partner-logos {
  flex: none;
}
.partner-logo img {
  max-width: none;
}
@media (max-width: 960px) and (min-width: 801px) {
  .header-nav {
    gap: 16px;
  }
  .header-nav .button {
    padding-inline: 18px;
    gap: 12px;
  }
}
@media (max-width: 1000px) and (min-width: 801px) {
  .nav-partner {
    gap: 8px;
    padding-left: 8px;
  }
  .partner-logo img,
  .is-scrolled .partner-logo img {
    height: 44px;
    margin: 0;
  }
}
@media (max-width: 480px) {
  .nav-partner-label {
    display: none;
  }
}
@media (max-width: 900px) and (min-width: 801px) {
  .site-header .container {
    width: calc(100% - 48px);
  }
}
/* Entre 801 y 880 px no entra todo en una línea: Cotizar sigue en el menú de Q-Suite. */
@media (max-width: 880px) and (min-width: 801px) {
  .header-nav > a[href="cotizador.html"] {
    display: none;
  }
  .header-nav .button {
    padding-inline: 14px;
    gap: 8px;
  }
  .header-nav {
    gap: 12px;
  }
}
