/* ===== NEXO Home 2026: hero con selector de áreas, franja animada y bento ===== */

:root {
  --hx-ink: #0b1418;
  --hx-ink-2: #10252b;
  --hx-teal: var(--gold, #00B8A9);
  --hx-teal-rgb: var(--gold-rgb, 0, 184, 169);
  --hx-radius: 20px;
  --hx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hx-tab-duration: 5.5s;
}

/* ---------- Hero ---------- */
.hero.hx {
  min-height: auto;
  padding: 108px 0 48px;
  background: var(--hx-ink);
  isolation: isolate;
}

.hx .hero__slide {
  filter: saturate(0.78) brightness(0.72) contrast(1.05);
  transition: opacity 1.2s ease, transform 10s linear;
}

.hx .hero__slide.is-active { transform: scale(1.05); }

.hx__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 68% 52% at 50% 40%, rgba(11, 20, 24, 0.32) 0%, rgba(11, 20, 24, 0.72) 58%, rgba(11, 20, 24, 0.88) 100%),
    linear-gradient(180deg, rgba(11, 20, 24, 0.62) 0%, rgba(11, 20, 24, 0.48) 45%, rgba(11, 20, 24, 0.78) 100%);
}

.hx__grid {
  position: absolute;
  inset: -10%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 58% 48% at 50% 42%, #000 12%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 58% 48% at 50% 42%, #000 12%, transparent 74%);
  animation: hxGridDrift 28s linear infinite;
}

.hx__glow {
  position: absolute;
  z-index: 1;
  width: min(560px, 70vw);
  height: min(560px, 70vw);
  left: 50%;
  top: 36%;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--hx-teal-rgb), 0.26) 0%, rgba(var(--hx-teal-rgb), 0) 68%);
  filter: blur(18px);
  animation: hxFloat 12s ease-in-out infinite alternate;
}

.hx__motion {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hx__scan {
  position: absolute;
  left: -8%;
  right: -8%;
  height: 18%;
  top: -20%;
  background: linear-gradient(180deg, transparent, rgba(var(--hx-teal-rgb), 0.08), transparent);
  animation: hxScan 9s ease-in-out infinite;
}

.hx__beam {
  position: absolute;
  height: 1px;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(var(--hx-teal-rgb), 0.55), transparent);
  opacity: 0.55;
  filter: blur(0.2px);
}

.hx__beam--a {
  top: 28%;
  left: -45%;
  animation: hxBeam 11s linear infinite;
}

.hx__beam--b {
  top: 58%;
  left: -45%;
  width: 34%;
  opacity: 0.35;
  animation: hxBeam 15s linear infinite reverse;
  animation-delay: -4s;
}

.hx__beam--c {
  top: 74%;
  left: -45%;
  width: 28%;
  opacity: 0.28;
  transform: rotate(-8deg);
  animation: hxBeam 13s linear infinite;
  animation-delay: -7s;
}

.hx__dust {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 24%, rgba(var(--hx-teal-rgb), 0.55) 0 1px, transparent 1.8px),
    radial-gradient(circle at 42% 68%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.5px),
    radial-gradient(circle at 84% 62%, rgba(var(--hx-teal-rgb), 0.4) 0 1px, transparent 1.7px),
    radial-gradient(circle at 30% 82%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1.4px);
  background-size: 100% 100%;
  animation: hxDust 18s ease-in-out infinite alternate;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 45%, #000 20%, transparent 75%);
}

@keyframes hxFloat {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-48%, -46%) scale(1.08); }
}

@keyframes hxGridDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-48px, -48px, 0); }
}

@keyframes hxScan {
  0% { top: -22%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 108%; opacity: 0; }
}

@keyframes hxBeam {
  0% { transform: translateX(0); }
  100% { transform: translateX(280%); }
}

@keyframes hxDust {
  0% { transform: translate3d(0, 0, 0); opacity: 0.4; }
  100% { transform: translate3d(12px, -18px, 0); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .hx__grid,
  .hx__glow,
  .hx__scan,
  .hx__beam,
  .hx__dust { animation: none !important; }
}

.hx__layout {
  position: relative;
  z-index: 3;
  display: grid;
  align-items: center;
}

.hx__layout--brand {
  min-height: clamp(520px, 74vh, 680px);
  place-items: center;
}

.hx__hl { color: var(--hx-teal); }

.hx-brand {
  width: min(100%, 700px);
  margin-inline: auto;
  text-align: center;
  color: #fff;
}

.hx-brand__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgba(var(--hx-teal-rgb), 0.7);
  border-radius: 999px;
  color: var(--hx-teal);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hx-brand__mark {
  margin: 16px 0 0;
  font-size: clamp(2.55rem, 6.2vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 0.94;
  text-transform: uppercase;
}

.hx-brand__sub {
  margin: 8px 0 0;
  font-size: clamp(0.7rem, 1.1vw, 0.84rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hx-brand__title {
  margin: 20px auto 0;
  max-width: 20ch;
  font-size: clamp(1.28rem, 2.3vw, 1.82rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hx-brand__title .hx__hl {
  display: inline-block;
  min-width: 7.5ch;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hx-brand.is-swap .hx-brand__title .hx__hl,
.hx-brand.is-swap .hx-brand__lead {
  opacity: 0;
  transform: translateY(6px);
}

.hx-brand__lead {
  margin: 10px auto 0;
  max-width: 32rem;
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hx-brand__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hx-brand__rule::before,
.hx-brand__rule::after {
  content: '';
  width: min(72px, 16vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--hx-teal-rgb), 0.85), transparent);
}

.hx-brand__rule span { white-space: nowrap; }

.hx__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hx__cta--center {
  justify-content: center;
}

.hx-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 2px;
  margin: 24px auto 0;
  max-width: 680px;
}

.hx-rail a {
  position: relative;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease;
}

.hx-rail a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--hx-teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.hx-rail a:hover,
.hx-rail a.is-active {
  color: #fff;
}

.hx-rail a.is-active::after {
  transform: scaleX(1);
}

.hx-brand__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.hx-brand__dot {
  width: 28px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hx-brand__dot.is-active {
  background: var(--hx-teal);
  transform: scaleX(1.15);
}

.hx__btn {
  padding: 13px 24px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(var(--hx-teal-rgb), 0.32);
}

.hx__btn-ghost {
  padding: 13px 22px;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.hx__btn-ghost:hover {
  color: #fff;
  border-color: var(--hx-teal);
  background: rgba(var(--hx-teal-rgb), 0.14);
  transform: translateY(-2px);
}

.hx__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hx__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.hx__trust svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(var(--hx-teal-rgb), 0.18);
  fill: none;
  stroke: var(--hx-teal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Panel selector de áreas ---------- */
.hx-panel {
  position: relative;
  padding: 22px;
  border-radius: var(--hx-radius);
  color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.hx-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(var(--hx-teal-rgb), 0.8), transparent 40%, transparent 60%, rgba(var(--hx-teal-rgb), 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hx-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.hx-panel__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hx-teal);
}

.hx-panel__count {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

.hx-panel__count strong { color: #fff; font-size: 1rem; }

.hx-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hx-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--hx-ease);
}

.hx-tab svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hx-tab:hover { color: #fff; border-color: rgba(var(--hx-teal-rgb), 0.5); transform: translateY(-1px); }

.hx-tab:focus-visible { outline: 2px solid var(--hx-teal); outline-offset: 2px; }

.hx-tab.is-active {
  color: #fff;
  background: rgba(var(--hx-teal-rgb), 0.18);
  border-color: rgba(var(--hx-teal-rgb), 0.7);
}

.hx-tab.is-active svg { stroke: var(--hx-teal); }

.hx-tab__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--hx-teal);
  transform: scaleX(0);
  transform-origin: left;
}

.hx-tab.is-active .hx-tab__bar {
  animation: hxProgress var(--hx-tab-duration) linear forwards;
}

.hx-panel.is-paused .hx-tab.is-active .hx-tab__bar,
.hx-panel.is-static .hx-tab.is-active .hx-tab__bar {
  animation-play-state: paused;
}

.hx-panel.is-static .hx-tab.is-active .hx-tab__bar { animation: none; transform: scaleX(1); }

@keyframes hxProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hx-panes {
  display: grid;
  margin-top: 18px;
  min-height: 250px;
}

.hx-pane {
  grid-area: 1 / 1;
  padding: 22px;
  border-radius: 16px;
  background: rgba(11, 20, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.45s var(--hx-ease),
    transform 0.45s var(--hx-ease),
    visibility 0.45s;
}

.hx-pane.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.hx-pane[hidden] { display: block; }

.hx-panel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.hx-panel__arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hx-panel__arrow svg { width: 16px; height: 16px; }

.hx-panel__arrow:hover {
  background: rgba(var(--hx-teal-rgb), 0.22);
  border-color: rgba(var(--hx-teal-rgb), 0.55);
  transform: translateY(-1px);
}

.hx-panel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.hx-panel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.3s var(--hx-ease), background 0.3s ease;
}

.hx-panel__dot.is-active {
  width: 22px;
  background: var(--hx-teal);
}

.hx-pane.is-active .hx-pane__list li {
  animation: hxPaneIn 0.55s var(--hx-ease) both;
}

.hx-pane.is-active .hx-pane__list li:nth-child(2) { animation-delay: 0.07s; }
.hx-pane.is-active .hx-pane__list li:nth-child(3) { animation-delay: 0.14s; }

@keyframes hxPaneIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.hx-pane__title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.hx-pane__pain {
  margin: 10px 0 0;
  padding-left: 12px;
  border-left: 3px solid var(--hx-teal);
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.hx-pane__list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hx-pane__list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.hx-pane__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(var(--hx-teal-rgb), 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300B8A9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.hx-pane__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hx-pane__link {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.hx-pane__link span { display: inline-block; color: var(--hx-teal); transition: transform 0.3s var(--hx-ease); }
.hx-pane__link:hover span { transform: translateX(5px); }

.hx-pane__cta {
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--hx-teal);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, transform 0.3s var(--hx-ease);
}

.hx-pane__cta:hover { color: #fff; background: var(--gold-hover, #009e91); transform: translateY(-2px); }

.hx-panel__foot {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

.hx .hero__scroll { z-index: 4; }

/* ---------- Franja animada ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  background: linear-gradient(90deg, #087f78 0%, var(--hx-teal) 50%, #087f78 100%);
  color: #fff;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: hxMarquee 38s linear infinite;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__list {
  display: flex;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker__list li {
  display: inline-flex;
  align-items: center;
  padding: 0 26px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__list li::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-left: 52px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
  transform: rotate(45deg);
}

@keyframes hxMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Tres formas: tarjetas con más presencia ---------- */
.modes {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 42% 38% at 0% 0%, rgba(var(--hx-teal-rgb), 0.2), transparent 68%),
    radial-gradient(ellipse 36% 42% at 100% 18%, rgba(var(--hx-teal-rgb), 0.14), transparent 62%),
    radial-gradient(ellipse 48% 40% at 78% 100%, rgba(var(--hx-teal-rgb), 0.12), transparent 70%),
    linear-gradient(165deg, #d7efec 0%, #eef8f7 46%, #e3f3f1 100%);
}

.modes > .container { position: relative; z-index: 1; }

.mode-card,
.sector-card {
  position: relative;
  border-radius: 18px;
  transition: transform 0.45s var(--hx-ease), box-shadow 0.45s var(--hx-ease), border-color 0.45s ease;
}

.mode-card::before {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--hx-teal), #5ef2e2);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.5s var(--hx-ease);
}

.mode-card:hover,
.sector-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--hx-teal-rgb), 0.35);
  box-shadow: 0 24px 50px rgba(11, 20, 24, 0.12);
}

.mode-card:hover::before { transform: scaleX(1); }

.mode-card__num {
  background: linear-gradient(135deg, var(--hx-teal), #079b91);
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--hx-teal-rgb), 0.35);
}

/* Método: proceso en 3 etapas */
.method {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.method__head {
  max-width: 40rem;
  margin: 0 0 40px;
}

.method__head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy-dark, #1a1d21);
}

.method__head p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4a5560;
}

.method__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.method__grid::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--hx-teal-rgb), 0.45), transparent);
  pointer-events: none;
}

.method-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  margin: 0;
  padding: 28px 24px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 29, 33, 0.08);
  box-shadow: 0 16px 40px rgba(11, 20, 24, 0.07);
  transition: transform 0.45s var(--hx-ease), box-shadow 0.45s ease, border-color 0.45s ease;
}

.method-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--hx-teal-rgb), 0.4);
  box-shadow: 0 24px 50px rgba(11, 20, 24, 0.12);
}

.method-card__num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hx-teal), #079b91);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 22px rgba(var(--hx-teal-rgb), 0.35);
}

.method-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark, #1a1d21);
}

.method-card > p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #54606b;
}

.method-card ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.method-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #3f4b55;
  font-weight: 600;
}

.method-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hx-teal);
}

.method__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 34px;
}

.method__cta-link {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--gold-text, #078a80);
  text-decoration: none;
}

.method__cta-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .method__grid { grid-template-columns: 1fr; }
  .method__grid::before { display: none; }
}

/* ---------- Bento "¿Qué necesitas resolver?" ---------- */
.explore.bx {
  position: relative;
  padding: 96px 0;
  background:
    radial-gradient(ellipse 50% 60% at 85% 10%, rgba(var(--hx-teal-rgb), 0.22), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(var(--hx-teal-rgb), 0.12), transparent 60%),
    linear-gradient(180deg, var(--hx-ink) 0%, var(--hx-ink-2) 100%);
  color: #fff;
  overflow: hidden;
}

.bx__header {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.bx__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hx-teal);
}

.bx__header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.bx__header p {
  margin: 12px 0 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
}

.bx__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: repeat(2, minmax(250px, auto));
  gap: 18px;
}

.bx-card {
  position: relative;
  display: flex;
  min-height: 250px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.5s var(--hx-ease), box-shadow 0.5s var(--hx-ease), border-color 0.5s ease;
}

.bx-card--lg { grid-row: span 2; min-height: 520px; }

.bx-card:hover {
  color: #fff;
  transform: translateY(-6px);
  border-color: rgba(var(--hx-teal-rgb), 0.6);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(var(--hx-teal-rgb), 0.3);
}

.bx-card__bg {
  position: absolute;
  inset: 0;
  background: var(--card-img) center / cover no-repeat;
  transform: scale(1.02);
  transition: transform 1.2s var(--hx-ease);
}

.bx-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 20, 24, 0.15) 0%, rgba(11, 20, 24, 0.6) 45%, rgba(11, 20, 24, 0.95) 100%);
}

.bx-card--accent .bx-card__bg::after {
  background: linear-gradient(180deg, rgba(0, 120, 112, 0.25) 0%, rgba(0, 110, 102, 0.75) 50%, rgba(6, 60, 58, 0.96) 100%);
}

.bx-card:hover .bx-card__bg { transform: scale(1.08); }

.bx-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 28px;
}

.bx-card__tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--hx-teal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bx-card--accent .bx-card__tag { background: #fff; color: #087f78; }

.bx-card h3 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.bx-card--lg h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }

.bx-card p {
  margin: 10px 0 0;
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.bx-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.bx-card__chips li {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.bx-card__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  font-size: 1.2rem;
  transition: transform 0.5s var(--hx-ease), background 0.4s ease;
}

.bx-card:hover .bx-card__arrow {
  background: var(--hx-teal);
  border-color: var(--hx-teal);
  transform: rotate(-45deg);
}

/* ---------- Sectores con iconos ---------- */
.sectors {
  background: #fff;
}

.sector-card {
  text-align: left;
  padding: 26px 22px;
}

.sector-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(var(--hx-teal-rgb), 0.12);
  color: var(--gold-text, #078a80);
  transition: background 0.4s ease, color 0.4s ease, transform 0.5s var(--hx-ease);
}

.sector-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sector-card:hover .sector-card__icon {
  background: var(--hx-teal);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}

.sector-card p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--gray);
}

/* ---------- Reveal más fluido ---------- */
.reveal {
  transition: opacity 0.8s var(--hx-ease), transform 0.8s var(--hx-ease);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hx-panel { width: 100%; max-width: 680px; min-width: 0; }
}

@media (max-width: 900px) {
  .hero.hx { padding: 96px 0 56px; min-height: auto; }
  .hx__layout--brand { min-height: auto; }
  .hx .hero__scroll { display: none; }

  .bx__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .bx-card--lg { grid-row: auto; min-height: 380px; }
}

@media (max-width: 640px) {
  .hx-brand__mark { letter-spacing: 0.06em; }
  .hx-brand__sub { letter-spacing: 0.22em; }
  .hx-brand__rule { gap: 10px; letter-spacing: 0.1em; }
  .hx__cta { flex-direction: column; }
  .hx__cta .btn { width: 100%; text-align: center; }
  .hx-rail { gap: 4px; }
  .hx-rail a { padding: 8px 8px; font-size: 0.66rem; }

  .hx-panel { padding: 16px; margin: 0 -4px; }
  .hx-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 0 16px 4px;
    scrollbar-width: none;
  }
  .hx-tabs::-webkit-scrollbar { display: none; }
  .hx-tab { flex: 0 0 auto; scroll-snap-align: start; }
  .hx-pane { padding: 18px; }
  .hx-pane__actions { flex-direction: column; align-items: stretch; text-align: center; }
  .hx-pane__cta { text-align: center; }

  .ticker { padding: 14px 0; }
  .ticker__list li { font-size: 0.82rem; padding: 0 18px; }
  .ticker__list li::after { margin-left: 36px; }

  .explore.bx { padding: 72px 0; }
  .bx-card { min-height: 280px; }
  .bx-card--lg { min-height: 360px; }
  .bx-card__body { padding: 22px; }
}

/* ---------- Fondos con la marca (barras + curva NEXO) ---------- */
:root {
  --nx-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 100'%3E%3Cg fill='%2300B8A9'%3E%3Crect x='8' y='12' width='14' height='76'/%3E%3Crect x='26' y='28' width='10' height='60'/%3E%3Crect x='38' y='20' width='10' height='68'/%3E%3Crect x='50' y='36' width='10' height='52'/%3E%3C/g%3E%3Cpath d='M4 88 Q40 72 76 88' stroke='%2300B8A9' stroke-width='3' fill='none'/%3E%3C/svg%3E");
  --nx-curve: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath d='M0 170 Q720 40 1440 170' stroke='%2300B8A9' stroke-opacity='.35' stroke-width='2' fill='none'/%3E%3Cpath d='M0 200 Q720 80 1440 200' stroke='%2300B8A9' stroke-opacity='.16' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
}

#sectores,
#nosotros,
#mision-vision,
#tecnologia,
#modos {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

#sectores > .container,
#nosotros > .container,
#mision-vision > .container,
#tecnologia > .container,
#modos > .container { position: relative; z-index: 1; }

#nosotros::before,
#mision-vision::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: clamp(220px, 28vw, 420px);
  aspect-ratio: 4 / 5;
  background: var(--nx-mark) no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
  animation: nxDrift 18s ease-in-out infinite alternate;
}

#nosotros::before { right: -50px; top: -40px; left: auto; opacity: 0.1; }
#mision-vision::before { right: -40px; top: -60px; }

#sectores::after,
#mision-vision::after {
  content: '';
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: -40px;
  height: 140px;
  background: var(--nx-curve) no-repeat center bottom / 100% 100%;
  pointer-events: none;
}

#tecnologia::after,
#tecnologia::before {
  display: none !important;
}

@keyframes nxDrift {
  from { translate: 0 0; }
  to { translate: -24px 18px; }
}

.sectors {
  background:
    radial-gradient(ellipse 42% 38% at 0% 0%, rgba(var(--hx-teal-rgb), 0.18), transparent 68%),
    radial-gradient(ellipse 36% 42% at 100% 18%, rgba(var(--hx-teal-rgb), 0.14), transparent 62%),
    radial-gradient(ellipse 48% 40% at 78% 100%, rgba(var(--hx-teal-rgb), 0.12), transparent 70%),
    linear-gradient(165deg, #dcefec 0%, #f4faf9 48%, #e8f4f2 100%);
}

.sectors .section__header {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 28px;
}

.sectors .section__lead {
  margin: 0;
  max-width: 36rem;
}

.sector-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sector-strip li {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-height: 118px;
  padding: 20px 16px;
  border-radius: 16px;
  border: 1px solid rgba(26, 29, 33, 0.08);
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 20, 24, 0.05);
  text-align: center;
  color: var(--navy-dark, #1a1d21);
}

.sector-strip__ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(var(--hx-teal-rgb), 0.12);
  color: var(--hx-teal);
}

.sector-strip__ico svg { width: 26px; height: 26px; }

.sector-strip strong {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.values-marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  background:
    linear-gradient(90deg, #066f69 0%, var(--hx-teal, #00B8A9) 48%, #066f69 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.values-marquee::before,
.values-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

.values-marquee::before {
  left: 0;
  width: 48px;
  background: linear-gradient(90deg, rgba(6, 111, 105, 0.7), transparent);
}

.values-marquee::after {
  right: 0;
  width: 48px;
  background: linear-gradient(270deg, rgba(6, 111, 105, 0.7), transparent);
}

.values-marquee__track {
  display: flex;
  width: max-content;
  animation: valuesMarquee 28s linear infinite;
}

.values-marquee:hover .values-marquee__track {
  animation-play-state: paused;
}

.values-marquee__list {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.values-marquee__list li {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.values-marquee__list li::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-left: 56px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

@keyframes valuesMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .values-marquee__track { animation: none; }
  .values-marquee__list[aria-hidden="true"] { display: none; }
  .values-marquee__track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .sector-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .sector-strip { grid-template-columns: minmax(0, 1fr); }
}

.sector-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: transform 0.45s var(--hx-ease), box-shadow 0.45s var(--hx-ease);
}

.sector-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--hx-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--hx-ease);
}

.sector-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11, 20, 24, 0.1); }
.sector-card:hover::after { transform: scaleX(1); }

/* Nosotros */
#nosotros .about__text h2 {
  margin: 0 0 18px;
  max-width: 18ch;
  font-family: var(--font, 'Raleway', sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy-dark, #1a1d21);
  text-wrap: balance;
}

#nosotros .about__text .hx__hl {
  color: var(--hx-teal);
}

#nosotros .about__text > p {
  max-width: 38rem;
  margin: 0 0 16px;
  font-family: var(--font, 'Raleway', sans-serif);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--gray, #5c6670);
}

#nosotros .about__image {
  position: relative;
  overflow: visible;
  box-shadow: none;
}

#nosotros .about__image::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--hx-teal);
  border-radius: var(--radius, 12px);
  z-index: -1;
}

#nosotros .about__image img {
  border-radius: var(--radius, 12px);
  box-shadow: 0 24px 50px rgba(11, 20, 24, 0.14);
  height: 400px;
}

#nosotros .about__slogan {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 3px solid var(--hx-teal);
  font-family: var(--font, 'Raleway', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy-dark, #1a1d21);
}

/* Misión y visión */
#mision-vision .mv-card {
  transition: transform 0.45s var(--hx-ease), box-shadow 0.45s var(--hx-ease);
}

#mision-vision .mv-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(11, 20, 24, 0.1); }

/* ---------- Por qué NEXO ---------- */
#por-que-nexo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--hx-ink);
  color: #fff;
}

#por-que-nexo::before {
  content: '';
  position: absolute;
  inset: 0 0 0 52%;
  z-index: -2;
  background: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=1400&q=80') center / cover no-repeat;
}

#por-que-nexo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--hx-ink) 0%, var(--hx-ink) 50%, rgba(11, 20, 24, 0.82) 64%, rgba(11, 20, 24, 0.45) 100%),
    var(--nx-curve) no-repeat center bottom / 100% 220px;
}

#por-que-nexo .why-nexo-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

#por-que-nexo .section__header h2,
#por-que-nexo h2 { color: #fff; }

#por-que-nexo .why-nexo__intro { color: rgba(255, 255, 255, 0.72); }

#por-que-nexo .why-nexo__list {
  display: block;
  counter-reset: why;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

#por-que-nexo .why-nexo__list li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0 18px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  counter-increment: why;
  transition: padding-left 0.4s var(--hx-ease), color 0.3s ease;
}

#por-que-nexo .why-nexo__list li::before {
  content: counter(why, decimal-leading-zero);
  font-weight: 800;
  color: var(--hx-teal);
}

#por-que-nexo .why-nexo__list li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--hx-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--hx-ease);
}

#por-que-nexo .why-nexo__list li:hover { padding-left: 10px; color: #fff; }
#por-que-nexo .why-nexo__list li:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: no-preference) {
  #por-que-nexo .why-nexo__list li { opacity: 0; transform: translateX(-16px); }
  #por-que-nexo.is-visible .why-nexo__list li {
    animation: whyIn 0.7s var(--hx-ease) forwards;
  }
  #por-que-nexo.is-visible .why-nexo__list li:nth-child(2) { animation-delay: 0.1s; }
  #por-que-nexo.is-visible .why-nexo__list li:nth-child(3) { animation-delay: 0.2s; }
  #por-que-nexo.is-visible .why-nexo__list li:nth-child(4) { animation-delay: 0.3s; }
  #por-que-nexo.is-visible .why-nexo__list li:nth-child(5) { animation-delay: 0.4s; }
}

@keyframes whyIn {
  to { opacity: 1; transform: translateX(0); }
}

#por-que-nexo .why-nexo__aside {
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  gap: 22px;
  padding: clamp(28px, 4vw, 44px);
  background: rgba(11, 20, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid var(--hx-teal);
  border-radius: 0;
  backdrop-filter: none;
}

.why-nexo__big {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.why-nexo__big strong {
  font-size: clamp(4rem, 7vw, 5.6rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--hx-teal);
}

.why-nexo__big span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

#por-que-nexo .why-nexo__closing {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

#por-que-nexo .why-nexo__closing em { color: var(--hx-teal); }

@media (max-width: 900px) {
  #por-que-nexo .why-nexo-layout { grid-template-columns: minmax(0, 1fr); }
  #por-que-nexo::before { inset: auto 0 0 0; height: 46%; }
  #por-que-nexo::after {
    background:
      linear-gradient(180deg, var(--hx-ink) 0%, var(--hx-ink) 52%, rgba(11, 20, 24, 0.7) 75%, rgba(11, 20, 24, 0.55) 100%);
  }
  #nosotros { background: #fff; }
  #nosotros .about__image::before { inset: 14px -10px -14px 10px; }
  #nosotros .about__image img { height: 280px; }
}

/* ---------- Banda "Cotiza aquí" ---------- */
.quote-band {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background:
    var(--nx-curve) no-repeat center bottom / 100% 160px,
    linear-gradient(110deg, #087f78 0%, var(--hx-teal) 55%, #22c9bb 100%);
  color: #fff;
}

.quote-band::before {
  content: '';
  position: absolute;
  right: 4%;
  top: -40px;
  width: 260px;
  aspect-ratio: 4 / 5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 100'%3E%3Cg fill='%23ffffff'%3E%3Crect x='8' y='12' width='14' height='76'/%3E%3Crect x='26' y='28' width='10' height='60'/%3E%3Crect x='38' y='20' width='10' height='68'/%3E%3Crect x='50' y='36' width='10' height='52'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.12;
  animation: nxDrift 14s ease-in-out infinite alternate;
}

.quote-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.quote-band__kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--hx-ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hx-teal);
}

.quote-band__title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.quote-band__text { margin-top: 10px; max-width: 40rem; color: rgba(255, 255, 255, 0.9); }

.quote-band__btn.btn {
  flex-shrink: 0;
  padding: 18px 30px;
  background: var(--hx-ink);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 16px 34px rgba(11, 20, 24, 0.3);
}

.quote-band__btn span { display: inline-block; margin-left: 6px; transition: transform 0.3s var(--hx-ease); }
.quote-band__btn:hover span { transform: translateX(6px); }
.quote-band__btn.btn:hover { background: #fff; color: var(--hx-ink); }

/* ---------- Contacto / cotización ---------- */
.contact__inner--quote {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  padding-top: 24px;
  padding-bottom: 72px;
}

.quote-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-teal);
}

.quote-kicker::before { content: ''; width: 28px; height: 2px; background: var(--hx-teal); }

.quote-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
}

.quote-title span { color: var(--hx-teal); }

.quote-lead { margin: 16px 0 0; max-width: 32rem; font-size: 1.05rem; color: rgba(255, 255, 255, 0.75); }

.quote-steps { margin: 30px 0 34px; display: grid; gap: 14px; }

.quote-steps li { display: flex; align-items: flex-start; gap: 14px; color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; }

.quote-steps b {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--hx-teal);
  color: var(--hx-teal);
  font-weight: 800;
}

.quote-steps strong { display: block; color: #fff; font-size: 1rem; }

.quote-card {
  position: relative;
  overflow: hidden;
  padding: 30px clamp(20px, 3vw, 34px) 30px;
  border-radius: 20px;
  background: #fff;
  color: var(--navy-dark, #1a1d21);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}

.quote-card__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #e6eeed;
}

.quote-card__progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #087f78, var(--hx-teal));
  transition: width 0.6s var(--hx-ease);
}

.quote-card__status {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text, #078a80);
}

.quote-form { display: grid; gap: 22px; }
.quote-form[hidden],
.quote-done[hidden] { display: none; }

.quote-group { margin: 0; padding: 0; border: 0; min-width: 0; }

.quote-group legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy-dark, #1a1d21);
}

.quote-group legend b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e6eeed;
  color: var(--navy-dark, #1a1d21);
  font-size: 0.8rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.quote-group.is-done legend b { background: var(--hx-teal); color: #fff; }
.quote-group legend small { font-size: 0.78rem; font-weight: 600; color: var(--gray, #6b7280); }

.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.chips--list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.chip { position: relative; display: block; cursor: pointer; }

.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.chip > span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 13px 38px 13px 13px;
  border: 1.5px solid #dfe6e5;
  border-radius: 12px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-dark, #1a1d21);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--hx-ease), box-shadow 0.25s ease;
}

.chip > span svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gold-text, #078a80);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip > span::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  width: 18px;
  height: 18px;
  translate: 0 -50%;
  border: 1.5px solid #c9d3d2;
  border-radius: 5px;
  background: #fff no-repeat center / 12px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--hx-ease);
}

.chip--row > span { flex-direction: column; align-items: flex-start; gap: 2px; }
.chip--row > span::after { top: 16px; translate: 0 0; }
.chip--row small { font-size: 0.78rem; font-weight: 500; color: var(--gray, #6b7280); }

.chip:hover > span { border-color: rgba(var(--hx-teal-rgb), 0.6); transform: translateY(-2px); }

.chip input:focus-visible + span { outline: 3px solid rgba(var(--hx-teal-rgb), 0.4); outline-offset: 2px; }

.chip input:checked + span {
  border-color: var(--hx-teal);
  background: rgba(var(--hx-teal-rgb), 0.08);
  box-shadow: 0 8px 20px rgba(var(--hx-teal-rgb), 0.18);
}

.chip input:checked + span::after {
  border-color: var(--hx-teal);
  background-color: var(--hx-teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  animation: chipPop 0.35s var(--hx-ease);
}

@keyframes chipPop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.field { position: relative; display: block; }
.field--full { grid-column: 1 / -1; }

.field input,
.field textarea {
  width: 100%;
  padding: 22px 14px 8px;
  border: 1.5px solid #dfe6e5;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: var(--navy-dark, #1a1d21);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field textarea { min-height: 104px; resize: vertical; }

.field span {
  position: absolute;
  left: 15px;
  top: 16px;
  font-size: 0.92rem;
  color: var(--gray, #6b7280);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.25s var(--hx-ease), color 0.25s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--hx-teal);
  box-shadow: 0 0 0 4px rgba(var(--hx-teal-rgb), 0.15);
}

.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span {
  transform: translateY(-9px) scale(0.78);
  color: var(--gold-text, #078a80);
  font-weight: 700;
}

.quote-error {
  margin: 10px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #c2410c;
}

.quote-group.is-shake { animation: quoteShake 0.45s ease; }

@keyframes quoteShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(3px); }
}

.quote-submit {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 22px;
  border: 0;
  border-radius: 14px;
  background: var(--hx-ink);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.35s ease, transform 0.25s var(--hx-ease), box-shadow 0.35s ease;
}

.quote-submit svg { width: 22px; height: 22px; color: #25d366; }
.quote-submit i { font-style: normal; transition: transform 0.3s var(--hx-ease); }
.quote-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(11, 20, 24, 0.25); }
.quote-submit:hover i { transform: translateX(6px); }

.quote-form.is-ready .quote-submit { background: var(--hx-teal); color: var(--hx-ink); }
.quote-form.is-ready .quote-submit svg { color: var(--hx-ink); }

.quote-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-100%);
}

.quote-form.is-ready .quote-submit::after { animation: quoteSweep 1.1s var(--hx-ease) 1; }

@keyframes quoteSweep { to { transform: translateX(100%); } }

.quote-note { margin: -8px 0 0; text-align: center; font-size: 0.8rem; color: var(--gray, #6b7280); }

.quote-done { padding: 30px 6px 10px; text-align: center; animation: svcFade 0.5s var(--hx-ease); }

@keyframes svcFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.quote-done__icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--hx-teal);
}

.quote-done__icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: quoteCheck 0.6s 0.2s var(--hx-ease) forwards; }

@keyframes quoteCheck { to { stroke-dashoffset: 0; } }

.quote-done h3 { margin: 18px 0 8px; font-size: 1.3rem; font-weight: 800; }
.quote-done p { margin: 0 auto; max-width: 26rem; color: var(--gray, #6b7280); }

.quote-again {
  margin-top: 20px;
  padding: 10px 18px;
  border: 1.5px solid #dfe6e5;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.quote-again:hover { border-color: var(--hx-teal); }

@media (max-width: 1024px) {
  .contact__inner--quote { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .quote-band__inner { flex-direction: column; align-items: flex-start; }
  .quote-band__btn.btn { width: 100%; text-align: center; }
  .chips,
  .chips--list,
  .quote-fields { grid-template-columns: minmax(0, 1fr); }
  .chips:not(.chips--list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip > span { padding: 12px 34px 12px 12px; font-size: 0.84rem; }
  .chips:not(.chips--list) .chip > span svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .quote-band::before { animation: none; }
  #sectores::before,
  #nosotros::before,
  #mision-vision::before,
  #modos::before { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none !important; }
  .hx-pane.is-active,
  .hx-pane.is-active .hx-pane__list li { animation: none !important; }
  .ticker__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker__list[aria-hidden="true"] { display: none; }
}

/* ========== Atmosfera / noise + UX pass 2026-11-11 ========== */
:root {
  --nx-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.nx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text, #078a80);
}

.nx-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--hx-teal, #00B8A9);
}

.nx-kicker--on-dark { color: var(--hx-teal, #00B8A9); }

#areas-gestion,
#faq,
#tecnologia,
#mision-vision,
#sectores,
#nosotros,
#modos,
#como-trabajamos {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#areas-gestion::before,
#faq::before,
#tecnologia::before,
#mision-vision::before,
#modos::before,
#como-trabajamos::before,
#sectores::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: var(--nx-noise);
  background-size: 180px 180px;
}

#areas-gestion > .container,
#faq > .container,
#tecnologia > .container,
#mision-vision > .container,
#modos > .container,
#como-trabajamos > .container,
#sectores > .container { position: relative; z-index: 1; }

#areas-gestion,
#modos,
#como-trabajamos,
#faq,
#sectores {
  background:
    radial-gradient(ellipse 42% 38% at 0% 0%, rgba(var(--hx-teal-rgb), 0.22), transparent 68%),
    radial-gradient(ellipse 36% 42% at 100% 18%, rgba(var(--hx-teal-rgb), 0.16), transparent 62%),
    radial-gradient(ellipse 48% 40% at 78% 100%, rgba(var(--hx-teal-rgb), 0.14), transparent 70%),
    linear-gradient(165deg, #d7efec 0%, #eef8f7 46%, #e3f3f1 100%);
}

#areas-gestion::before,
#modos::before,
#como-trabajamos::before { opacity: 0.07; }

#areas-gestion::after,
#modos::after,
#como-trabajamos::after,
#faq::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    var(--nx-mark) no-repeat right -30px top 36px / 360px,
    var(--nx-mark) no-repeat left -120px bottom -40px / 260px,
    var(--nx-curve) no-repeat center bottom / 100% 180px;
  opacity: 0.14;
}

#modos::after {
  background:
    var(--nx-mark) no-repeat left -90px bottom -50px / 300px,
    var(--nx-curve) no-repeat center bottom / 100% 160px;
}

#como-trabajamos::after {
  background:
    var(--nx-mark) no-repeat right -40px bottom -30px / 340px,
    var(--nx-curve) no-repeat center bottom / 100% 170px;
}

#faq::after {
  background:
    var(--nx-mark) no-repeat right -50px top 20px / 300px,
    var(--nx-curve) no-repeat center bottom / 100% 150px;
  opacity: 0.12;
}

#faq {
  background:
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(var(--hx-teal-rgb), 0.09), transparent 60%),
    linear-gradient(180deg, #f7fafa 0%, #eef5f4 100%);
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.about__tags li {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--hx-teal-rgb), 0.28);
  background: rgba(var(--hx-teal-rgb), 0.08);
  color: var(--navy-dark, #1a1d21);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#mision-vision .mv-card {
  position: relative;
  overflow: hidden;
  padding: 28px 26px 30px;
  border: 1px solid rgba(26, 29, 33, 0.08);
  background:
    linear-gradient(160deg, #ffffff 0%, #f3faf9 100%);
}

#mision-vision .mv-card::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 140px;
  aspect-ratio: 4 / 5;
  background: var(--nx-mark) no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}

.mv-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(var(--hx-teal-rgb), 0.12);
  color: var(--gold-text, #078a80);
}

.mv-card__icon svg { width: 28px; height: 28px; }

.mv-card__label {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-teal, #00B8A9);
}

.pillar-card__num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(var(--hx-teal-rgb), 0.7);
}

.pillar-card,
.pillar-card__front { position: relative; }

.pillar__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(var(--hx-teal-rgb), 0.1);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.pillar__icon svg { width: 36px; height: 36px; }

.sector-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.sector-card__icon svg { width: 30px; height: 30px; }

/* Tech panel */
.tech-soft,
#tecnologia.tech-soft {
  padding: 88px 0;
  background: #0f1719 !important;
}

.tech-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 24px;
  background: linear-gradient(125deg, #132022 0%, #1a2a2c 55%, #0f1c1e 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  color: #fff;
}

.tech-panel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 120px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background: var(--nx-curve) no-repeat center bottom / 100% 100%;
}

.tech-panel__copy,
.tech-panel__grid {
  position: relative;
  z-index: 1;
}

.tech-panel__copy h2,
#tecnologia .tech-panel__copy h2 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.tech-panel__copy p {
  margin: 14px 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.tech-panel__copy .btn {
  margin-top: 22px;
}

.tech-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tech-tile {
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s var(--hx-ease), border-color 0.35s ease, background 0.35s ease;
}

.tech-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--hx-teal-rgb), 0.55);
  background: rgba(var(--hx-teal-rgb), 0.1);
}

.tech-tile__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: rgba(var(--hx-teal-rgb), 0.16);
  color: var(--hx-teal);
}

.tech-tile__icon svg { width: 24px; height: 24px; }

.tech-tile h3 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.tech-tile p {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

/* FAQ layout */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.faq-layout__intro h2 { margin: 0; }

.faq-layout__intro p {
  margin: 12px 0 0;
  color: var(--gray);
  max-width: 28rem;
  line-height: 1.55;
}

.faq-layout__cta {
  display: inline-flex;
  margin-top: 22px;
  font-weight: 800;
  color: var(--gold-text, #078a80);
}

.faq-layout__cta:hover { text-decoration: underline; }

#faq .faq-item {
  border: 1px solid rgba(26, 29, 33, 0.08);
  border-radius: 14px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#faq .faq-item:hover { border-color: rgba(var(--hx-teal-rgb), 0.4); }

#faq .faq-item:has(details[open]) {
  border-color: var(--hx-teal);
  box-shadow: 0 16px 36px rgba(11, 20, 24, 0.08);
}

#faq .faq-item details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 1rem;
}

#faq .faq-item details summary::after {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(#078a80, #078a80) center / 12px 2px no-repeat,
    linear-gradient(#078a80, #078a80) center / 2px 12px no-repeat;
  transition: transform 0.28s ease;
}

#faq .faq-item details[open] summary::after { transform: rotate(45deg); }

#faq .faq-item details p {
  margin: 0;
  padding: 0 20px 18px;
}

/* Footer enriquecido */
.contact__bottom { display: none; }

.site-foot {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  padding: 48px 0 28px;
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.site-foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.site-foot__brand strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: #fff;
}

.site-foot__brand p {
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.site-foot__col {
  display: grid;
  gap: 8px;
  align-content: start;
}

.site-foot__col h3 {
  margin: 0 0 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-teal);
}

.site-foot__col a,
.site-foot__col p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-foot__col a:hover { color: #fff; }

.site-foot__copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-foot__copy p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .tech-panel,
  .faq-layout,
  .site-foot__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .tech-panel__grid { grid-template-columns: minmax(0, 1fr); }
  .about__tags li { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tech-tile:hover { transform: none; }
}

/* ========== Fix especialidades / MV / FAQ / values (2026-11-11i) ========== */
#mision-vision .section__header {
  display: block;
  margin-bottom: 28px;
}

#mision-vision .mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

#mision-vision .mv-card {
  padding: 36px 32px 40px;
  border-top: 4px solid var(--hx-teal);
  box-shadow: 0 18px 40px rgba(11, 20, 24, 0.08);
}

#mision-vision .mv-card h2 {
  margin: 16px 0 14px;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
  color: var(--navy-dark, #1a1d21);
}

#mision-vision .mv-card > p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #3a4550;
  font-weight: 500;
}

#mision-vision .mv-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(var(--hx-teal-rgb), 0.14);
  color: var(--hx-teal);
}

#mision-vision .mv-card__label {
  display: block;
  margin: 0 0 4px;
}

.values-bar { padding: 34px 0; }

.values-bar__inner {
  display: grid !important;
  gap: 18px 24px;
  align-items: start;
  justify-content: initial !important;
}

.values-bar__inner--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.values-bar__inner--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.values-bar__item {
  min-width: 0 !important;
  gap: 12px !important;
  text-align: center;
}

.values-bar__ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.values-bar--light .values-bar__ico {
  background: rgba(var(--hx-teal-rgb), 0.1);
  color: var(--gold-text, #078a80);
}

.values-bar--dark .values-bar__ico { color: var(--hx-teal); }

.values-bar__ico svg { width: 28px; height: 28px; }

.values-bar__item span:not(.values-bar__ico) {
  font-size: 0.72rem;
  line-height: 1.25;
  max-width: 12ch;
}

#areas-gestion .areas-head {
  display: block;
  max-width: 52rem;
  margin-bottom: 40px;
}

#areas-gestion .areas-head h2 {
  margin: 0 0 14px;
}

#areas-gestion .section__lead {
  margin: 0;
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4a5560;
}

.areas-head__hint {
  display: block;
  margin: 16px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-text, #078a80);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 28px;
}

.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 280px;
  padding: 28px 26px 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(26, 29, 33, 0.08);
  box-shadow: 0 14px 34px rgba(11, 20, 24, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--hx-ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.area-card:hover,
.area-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(var(--hx-teal-rgb), 0.45);
  box-shadow: 0 22px 48px rgba(11, 20, 24, 0.12);
  outline: none;
}

.area-card__num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(var(--hx-teal-rgb), 0.75);
}

.area-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(var(--hx-teal-rgb), 0.12);
  color: var(--hx-teal);
}

.area-card__icon svg { width: 30px; height: 30px; }

.area-card h3 {
  margin: 4px 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark, #1a1d21);
}

.area-card p {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #54606b;
}

.area-card__cta {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold-text, #078a80);
}

.area-card:hover .area-card__cta { text-decoration: underline; }

/* FAQ más dinámica */
.faq-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 8px;
}

.faq-stats p {
  margin: 0 !important;
  padding: 14px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 29, 33, 0.08);
  text-align: center;
}

.faq-stats strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--hx-teal);
  line-height: 1;
}

.faq-stats span {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #66727c;
}

#faq .faq-item {
  transform: translateY(12px);
  animation: faqRise 0.55s var(--hx-ease) both;
  animation-delay: calc(var(--faq-i, 0) * 80ms);
}

@keyframes faqRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

#faq .faq-item details summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
}

#faq .faq-item details summary b {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--hx-teal-rgb), 0.45);
  color: var(--hx-teal);
  font-size: 0.72rem;
  font-weight: 800;
}

#faq .faq-item details summary span {
  flex: 1;
  padding-right: 8px;
  font-size: 1.02rem;
  line-height: 1.35;
}

#faq .faq-item details[open] {
  background: linear-gradient(180deg, #ffffff 0%, #f3faf9 100%);
}

#faq .faq-item details[open] summary b {
  background: var(--hx-teal);
  border-color: var(--hx-teal);
  color: #fff;
}

#faq .faq-item details p {
  padding: 0 22px 22px 72px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #3f4b55;
}

.site-foot__brand strong {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-bar__inner--5,
  .values-bar__inner--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  #mision-vision .mv-grid,
  .area-grid { grid-template-columns: minmax(0, 1fr); }
  .values-bar__inner--5,
  .values-bar__inner--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #faq .faq-item details p { padding-left: 22px; }
  .faq-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  #faq .faq-item { animation: none; transform: none; }
  .area-card:hover { transform: none; }
}

/* ========== Nav / quote wizard / footer compactos ========== */
.contact__inner--quote {
  align-items: stretch;
  gap: clamp(28px, 4vw, 48px);
  padding-top: 40px;
  padding-bottom: 40px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.quote-steps { margin: 28px 0 0; gap: 16px; }

.quote-steps li {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.quote-steps li.is-active {
  border-color: rgba(var(--hx-teal-rgb), 0.55);
  background: rgba(var(--hx-teal-rgb), 0.12);
}

.quote-steps li.is-done b {
  background: var(--hx-teal);
  color: #fff;
}

.quote-card {
  padding: 26px clamp(18px, 2.5vw, 30px) 24px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.quote-form { flex: 1; display: grid; align-content: start; gap: 18px; }

.quote-group[hidden] { display: none !important; }

.quote-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.quote-back,
.quote-next {
  flex: 1;
  min-width: 120px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(26, 29, 33, 0.12);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.quote-next {
  border-color: var(--hx-teal);
  background: var(--hx-teal);
  color: #fff;
}

.quote-next:hover { filter: brightness(0.95); }
.quote-back:hover { border-color: var(--hx-teal); color: var(--hx-teal); }

.quote-submit {
  flex: 1.4;
  min-width: 180px;
}

.quote-submit[hidden],
.quote-back[hidden],
.quote-next[hidden] { display: none !important; }

.site-foot {
  padding: 36px 0 22px;
}

.site-foot__grid {
  align-items: start;
  gap: 24px 32px;
}

.site-foot__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  margin-bottom: 12px;
}

.site-foot__logo strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.site-foot__logo small {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: none;
}

.site-foot__brand > strong { display: none; }

.site-foot__brand p {
  margin: 0;
  max-width: 22rem;
}

/* ========== Continuum: tipografia + degrados entre secciones ========== */
:root {
  --nx-flow-a: #f7fbfb;
  --nx-flow-b: #eef7f6;
  --nx-flow-c: #e4f3f1;
}

.hx__floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 96px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(246, 250, 250, 0) 0%,
    rgba(246, 250, 250, 0.18) 35%,
    rgba(246, 250, 250, 0.55) 70%,
    #f6fafa 100%
  );
}

#nosotros,
#modos,
#mision-vision,
.explore.bx,
#areas-gestion,
#como-trabajamos,
#faq,
#nosotros.section--gray,
#mision-vision.section--gray,
#areas-gestion.section--gray,
.modes {
  position: relative;
  isolation: isolate;
  border: 0;
  margin-top: -1px;
  background:
    radial-gradient(ellipse 40% 34% at 6% 0%, rgba(var(--hx-teal-rgb), 0.05), transparent 74%),
    radial-gradient(ellipse 36% 38% at 100% 16%, rgba(var(--hx-teal-rgb), 0.04), transparent 72%),
    linear-gradient(180deg, #f6fafa 0%, #f2f8f7 55%, #eef6f5 100%) !important;
}

#nosotros {
  background:
    radial-gradient(ellipse 48% 56% at 100% 40%, rgba(var(--hx-teal-rgb), 0.05), transparent 76%),
    linear-gradient(180deg, #f6fafa 0%, #f2f8f7 55%, #eef6f5 100%) !important;
}

#nosotros > .container,
#modos > .container,
#mision-vision > .container,
.explore.bx > .container,
#areas-gestion > .container,
#como-trabajamos > .container,
#tecnologia > .container,
#faq > .container {
  position: relative;
  z-index: 3;
}

#nosotros .about__text h2,
#modos .section__header h2,
#mision-vision .mv-card h2,
.explore.bx h2,
#areas-gestion .areas-head h2,
#como-trabajamos .section__header h2,
#tecnologia h2,
#faq h2,
#por-que-nexo h2 {
  font-family: var(--font, 'Raleway', sans-serif);
  letter-spacing: -0.02em;
}

#modos .section__header h2,
.explore.bx h2,
#areas-gestion .areas-head h2,
#como-trabajamos .section__header h2,
#faq h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy-dark, #1a1d21);
}

#modos .mode-card h3,
#areas-gestion .area-card h3,
#como-trabajamos h3 {
  font-family: var(--font, 'Raleway', sans-serif);
  font-weight: 700;
}

#modos .mode-card p,
#areas-gestion .section__lead,
#areas-gestion .area-card p,
#como-trabajamos p,
#faq .faq-item p {
  font-family: var(--font, 'Raleway', sans-serif);
  font-weight: 500;
  color: var(--gray, #5c6670);
}

#mision-vision .mv-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--hx-teal-rgb), 0.14);
  border-top: 3px solid var(--hx-teal);
  box-shadow: 0 14px 36px rgba(11, 20, 24, 0.06);
}

#mision-vision .mv-card h2 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 700;
}

#mision-vision .mv-card > p {
  font-family: var(--font, 'Raleway', sans-serif);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--gray, #5c6670);
}

#mision-vision .mv-card__label {
  font-family: var(--font, 'Raleway', sans-serif);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.about__tags li {
  font-family: var(--font, 'Raleway', sans-serif);
}

.values-marquee {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 18px 0;
  mask-image: none;
  -webkit-mask-image: none;
}

#por-que-nexo {
  margin-top: 0;
  box-shadow: none;
}

#por-que-nexo::after {
  background:
    linear-gradient(180deg, rgba(246, 250, 250, 0.35) 0%, transparent 28px),
    linear-gradient(0deg, rgba(246, 250, 250, 0.35) 0%, transparent 28px),
    linear-gradient(90deg, var(--hx-ink) 0%, var(--hx-ink) 50%, rgba(11, 20, 24, 0.82) 64%, rgba(11, 20, 24, 0.45) 100%),
    var(--nx-curve) no-repeat center bottom / 100% 220px;
}

#contacto.contact,
.contact {
  position: relative;
  box-shadow: none;
}

#contacto.contact::before,
.contact::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 36px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(238, 246, 245, 0.45) 0%, transparent 100%);
}

@media (max-width: 900px) {
  .hx__floor { height: 72px; }
}
