/* =========================================================
   NEXA — Mayoreo y lotes dedicados / Inicio
   Ubicación sugerida: debajo del hero / trustbar.
   ========================================================= */

.nexa-bulk-section {
  --nexa-blue: #1F67D2;
  --nexa-blue-deep: #1858B8;
  --nexa-navy: #0C2742;
  --nexa-riptide: #89D9C8;
  --nexa-riptide-dark: #3B9F91;
  --nexa-soft: #667386;

  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: clamp(20px, 3vw, 38px) auto clamp(42px, 5vw, 72px);
  font-family: "DM Sans", Arial, sans-serif;
}

.nexa-bulk-section__head {
  max-width: 760px;
  margin: 0 auto clamp(22px, 3vw, 34px);
  text-align: center;
}

.nexa-bulk-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: var(--nexa-riptide-dark);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.nexa-bulk-section__eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nexa-blue), var(--nexa-riptide));
  box-shadow: 0 0 0 5px rgba(137, 217, 200, 0.16);
}

.nexa-bulk-section h2 {
  margin: 0;
  color: var(--nexa-navy);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 1000;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.nexa-bulk-section__head p {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--nexa-soft);
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 750;
  line-height: 1.62;
  letter-spacing: -0.02em;
}

.nexa-bulk-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
}

.nexa-bulk-card {
  position: relative;
  min-height: 100%;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: 26px;
  border: 1px solid rgba(31, 103, 210, 0.11);
  background:
    radial-gradient(circle at 92% 0%, rgba(31, 103, 210, 0.06), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.72));
  box-shadow:
    0 22px 58px rgba(12, 39, 66, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.nexa-bulk-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--nexa-blue), rgba(137, 217, 200, 0.72));
  opacity: 0.9;
}

.nexa-bulk-card--featured {
  border-color: rgba(137, 217, 200, 0.42);
  background:
    radial-gradient(circle at 92% 0%, rgba(137, 217, 200, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(243, 252, 250, 0.74));
}

.nexa-bulk-card--featured::before {
  background: linear-gradient(90deg, var(--nexa-blue), var(--nexa-riptide));
}

.nexa-bulk-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
}

.nexa-bulk-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(31, 103, 210, 0.07);
  color: var(--nexa-blue-deep);
}

.nexa-bulk-card--featured .nexa-bulk-card__icon {
  background: rgba(137, 217, 200, 0.22);
  color: var(--nexa-riptide-dark);
}

.nexa-bulk-card__icon svg {
  width: 23px;
  height: 23px;
}

.nexa-bulk-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(12, 39, 66, 0.055);
  color: #536174;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.nexa-bulk-card--featured .nexa-bulk-card__badge {
  background: rgba(137, 217, 200, 0.22);
  color: var(--nexa-riptide-dark);
}

.nexa-bulk-card h3 {
  margin: 0;
  color: var(--nexa-navy);
  font-size: clamp(22px, 2.25vw, 30px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.nexa-bulk-card p {
  max-width: 470px;
  margin: 10px 0 18px;
  color: #5F6E84;
  font-size: 14px;
  font-weight: 740;
  line-height: 1.55;
  letter-spacing: -0.012em;
}

.nexa-bulk-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.nexa-bulk-card li {
  position: relative;
  margin: 0;
  padding: 0 0 0 25px;
  color: #23364C;
  font-size: 13.5px;
  font-weight: 820;
  line-height: 1.35;
  letter-spacing: -0.012em;
}

.nexa-bulk-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.47em;
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 38% 34%, #FFFFFF 0 18%, transparent 20%),
    linear-gradient(135deg, var(--nexa-blue), var(--nexa-riptide));
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(31, 103, 210, 0.07);
}

.nexa-bulk-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--nexa-blue-deep) !important;
  font-size: 13.5px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none !important;
}

.nexa-bulk-card--featured .nexa-bulk-card__link {
  color: var(--nexa-riptide-dark) !important;
}

.nexa-bulk-card__link span {
  transition: transform 180ms ease;
}

.nexa-bulk-card__link:hover span {
  transform: translateX(3px);
}

@media (max-width: 820px) {
  .nexa-bulk-section {
    width: min(100% - 24px, 580px);
    margin-top: 18px;
  }

  .nexa-bulk-section__grid {
    grid-template-columns: 1fr;
  }

  .nexa-bulk-section__head {
    text-align: left;
  }

  .nexa-bulk-section h2 {
    font-size: 38px;
  }

  .nexa-bulk-section__head p {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .nexa-bulk-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .nexa-bulk-card h3 {
    font-size: 24px;
  }

  .nexa-bulk-card p,
  .nexa-bulk-card li {
    font-size: 13px;
  }
}
/* =========================================================
   NEXA — Mayoreo / Animación visible premium
   ========================================================= */

.nexa-bulk-card {
  position: relative;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.nexa-bulk-card > * {
  position: relative;
  z-index: 2;
}

/* Halo interno más visible */
.nexa-bulk-card::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -150px;
  top: -150px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(31, 103, 210, 0.18), transparent 64%);
  opacity: 0.72;
  animation: nexaBulkHaloFloat 6.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.nexa-bulk-card--featured::after {
  background:
    radial-gradient(circle, rgba(137, 217, 200, 0.28), transparent 64%);
  animation-delay: -2.4s;
}

/* Línea superior con brillo más notable */
.nexa-bulk-card::before {
  background-size: 220% 100% !important;
  animation: nexaBulkTopGlow 4.8s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(31, 103, 210, 0.18);
}

.nexa-bulk-card--featured::before {
  box-shadow: 0 8px 24px rgba(137, 217, 200, 0.24);
}

/* Icono con respiración visible */
.nexa-bulk-card__icon {
  animation: nexaBulkIconPulse 3.8s ease-in-out infinite;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.nexa-bulk-card:nth-child(2) .nexa-bulk-card__icon {
  animation-delay: -1.7s;
}

/* Hover más premium */
.nexa-bulk-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 103, 210, 0.24);
  box-shadow:
    0 34px 82px rgba(12, 39, 66, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.nexa-bulk-card--featured:hover {
  border-color: rgba(137, 217, 200, 0.62);
}

.nexa-bulk-card:hover .nexa-bulk-card__icon {
  transform: translateY(-2px) scale(1.06);
}

/* CTA con movimiento fino */
.nexa-bulk-card__link {
  transition:
    transform 180ms ease,
    letter-spacing 180ms ease;
}

.nexa-bulk-card__link:hover {
  transform: translateX(3px);
  letter-spacing: -0.005em;
}

/* Keyframes */
@keyframes nexaBulkHaloFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.58;
  }

  50% {
    transform: translate3d(-28px, 24px, 0) scale(1.10);
    opacity: 0.92;
  }
}

@keyframes nexaBulkTopGlow {
  0%, 100% {
    background-position: 0% 50%;
    opacity: 0.78;
  }

  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
}

@keyframes nexaBulkIconPulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(31, 103, 210, 0.00),
      inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }

  50% {
    box-shadow:
      0 0 0 7px rgba(31, 103, 210, 0.07),
      0 14px 30px rgba(31, 103, 210, 0.13),
      inset 0 1px 0 rgba(255, 255, 255, 0.86);
  }
}

.nexa-bulk-card--featured .nexa-bulk-card__icon {
  animation-name: nexaBulkIconPulseGreen;
}

@keyframes nexaBulkIconPulseGreen {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(137, 217, 200, 0.00),
      inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }

  50% {
    box-shadow:
      0 0 0 7px rgba(137, 217, 200, 0.12),
      0 14px 30px rgba(59, 159, 145, 0.13),
      inset 0 1px 0 rgba(255, 255, 255, 0.86);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nexa-bulk-card,
  .nexa-bulk-card::before,
  .nexa-bulk-card::after,
  .nexa-bulk-card__icon,
  .nexa-bulk-card__link {
    animation: none !important;
    transition: none !important;
  }
}
/* =========================================================
   NEXA — Mayoreo / Animación premium refinada
   Corrige el pulso exagerado del icono.
   ========================================================= */

/* Card: movimiento suave */
.nexa-bulk-card {
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.nexa-bulk-card > * {
  position: relative;
  z-index: 2;
}

/* Halo interno más fino, no tan invasivo */
.nexa-bulk-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -145px;
  top: -145px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(31, 103, 210, 0.13), transparent 66%);
  opacity: 0.48;
  animation: nexaBulkHaloSoft 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.nexa-bulk-card--featured::after {
  background:
    radial-gradient(circle, rgba(137, 217, 200, 0.22), transparent 66%);
  animation-delay: -3s;
}

/* Hover elegante */
.nexa-bulk-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 103, 210, 0.24);
  box-shadow:
    0 34px 82px rgba(12, 39, 66, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.nexa-bulk-card--featured:hover {
  border-color: rgba(137, 217, 200, 0.58);
}

/* Línea superior con brillo sutil */
.nexa-bulk-card::before {
  background-size: 220% 100% !important;
  animation: nexaBulkLineSoft 6s ease-in-out infinite;
  box-shadow: 0 8px 22px rgba(31, 103, 210, 0.14);
}

.nexa-bulk-card--featured::before {
  box-shadow: 0 8px 22px rgba(137, 217, 200, 0.18);
}

/* Quitar pulso exagerado del icono */
.nexa-bulk-card__icon {
  animation: none !important;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

/* Brillito interno del icono */
.nexa-bulk-card__icon::after {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.42) 50%, transparent 65%);
  transform: translateX(-80%) rotate(12deg);
  animation: nexaBulkIconShine 6.2s ease-in-out infinite;
  pointer-events: none;
}

.nexa-bulk-card--featured .nexa-bulk-card__icon::after {
  animation-delay: -2.2s;
}

/* El SVG se mueve apenas, no toda la burbuja */
.nexa-bulk-card__icon svg {
  animation: nexaBulkSvgFloat 4.8s ease-in-out infinite;
}

.nexa-bulk-card--featured .nexa-bulk-card__icon svg {
  animation-delay: -1.6s;
}

.nexa-bulk-card:hover .nexa-bulk-card__icon {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(31, 103, 210, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

.nexa-bulk-card--featured:hover .nexa-bulk-card__icon {
  box-shadow:
    0 14px 30px rgba(59, 159, 145, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

/* Bullet points con vida muy leve */
.nexa-bulk-card li::before {
  animation: nexaBulkBulletPulse 4.4s ease-in-out infinite;
}

.nexa-bulk-card li:nth-child(2)::before {
  animation-delay: -0.8s;
}

.nexa-bulk-card li:nth-child(3)::before {
  animation-delay: -1.6s;
}

.nexa-bulk-card li:nth-child(4)::before {
  animation-delay: -2.4s;
}

/* CTA */
.nexa-bulk-card__link {
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.nexa-bulk-card__link:hover {
  transform: translateX(3px);
}

/* Keyframes refinados */
@keyframes nexaBulkHaloSoft {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.40;
  }

  50% {
    transform: translate3d(-18px, 18px, 0) scale(1.06);
    opacity: 0.62;
  }
}

@keyframes nexaBulkLineSoft {
  0%, 100% {
    background-position: 0% 50%;
    opacity: 0.82;
  }

  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
}

@keyframes nexaBulkIconShine {
  0%, 68%, 100% {
    transform: translateX(-90%) rotate(12deg);
    opacity: 0;
  }

  78% {
    opacity: 0.65;
  }

  88% {
    transform: translateX(90%) rotate(12deg);
    opacity: 0;
  }
}

@keyframes nexaBulkSvgFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-1.5px);
  }
}

@keyframes nexaBulkBulletPulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(31, 103, 210, 0.07);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(31, 103, 210, 0.11);
  }
}

.nexa-bulk-card--featured li::before {
  animation-name: nexaBulkBulletPulseGreen;
}

@keyframes nexaBulkBulletPulseGreen {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(137, 217, 200, 0.10);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(137, 217, 200, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nexa-bulk-card,
  .nexa-bulk-card::before,
  .nexa-bulk-card::after,
  .nexa-bulk-card__icon,
  .nexa-bulk-card__icon::after,
  .nexa-bulk-card__icon svg,
  .nexa-bulk-card li::before,
  .nexa-bulk-card__link {
    animation: none !important;
    transition: none !important;
  }
}
/* =========================================================
   NEXA — Fix hover CTA Mayoreo
   Evita que la card camb Fix hover CTA Mayoreo
   Evita que la card cambie altura o que el halo se mueva al pasar
   sobre "Solicitar opción de mayoreo" / "Consultar opción profesional".
   ========================================================= */

/* La card mantiene estructura fija */
.nexa-bulk-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
}

/* La lista ocupa su espacio normal y el CTA queda abajo */
.nexa-bulk-card ul {
  margin-bottom: 22px !important;
}

.nexa-bulk-card__link {
  margin-top: auto !important;
  min-height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  align-self: flex-start !important;
  gap: 7px !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
  transform: none !important;
  transition:
    color 180ms ease,
    opacity 180ms ease !important;
}

/* El link ya no se mueve completo */
.nexa-bulk-card__link:hover {
  transform: none !important;
  letter-spacing: -0.01em !important;
}

/* Solo se mueve la flecha */
.nexa-bulk-card__link span {
  display: inline-flex !important;
  transition: transform 180ms ease !important;
}

.nexa-bulk-card__link:hover span {
  transform: translateX(4px) !important;
}

/* Cuando el mouse está sobre el CTA, no levantamos toda la card */
.nexa-bulk-card:has(.nexa-bulk-card__link:hover) {
  transform: none !important;
}

/* Pero sí conservamos un hover visual fino */
.nexa-bulk-card:has(.nexa-bulk-card__link:hover) {
  border-color: rgba(31, 103, 210, 0.20) !important;
  box-shadow:
    0 26px 68px rgba(12, 39, 66, 0.095),
    inset 0 1px 0 rgba(255, 255, 255, 0.90) !important;
}

.nexa-bulk-card--featured:has(.nexa-bulk-card__link:hover) {
  border-color: rgba(137, 217, 200, 0.54) !important;
}

/* El halo queda más estable */
.nexa-bulk-card:has(.nexa-bulk-card__link:hover)::after {
  transform: none !important;
  animation-play-state: paused !important;
  opacity: 0.48 !important;
}

/* Mobile: evita brincos si el texto del CTA ocupa dos líneas */
@media (max-width: 520px) {
  .nexa-bulk-card__link {
    line-height: 1.2 !important;
  }
}
/* =========================================================
   NEXA — Fix CTA Mayoreo en una sola línea
   ========================================================= */

.nexa-bulk-card__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  width: fit-content !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.nexa-bulk-card__link span {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin-left: 2px !important;
}

/* Evita que el hover cambie el ancho o provoque salto */
.nexa-bulk-card__link:hover {
  white-space: nowrap !important;
  letter-spacing: -0.01em !important;
  transform: none !important;
}

.nexa-bulk-card__link:hover span {
  transform: translateX(4px) !important;
}

/* En móvil sí permitimos que respire si no cabe */
@media (max-width: 420px) {
  .nexa-bulk-card__link {
    white-space: normal !important;
    line-height: 1.25 !important;
  }
}