/* MY STOCKFLEX / STKFLEX landing — responsive, dark-first UI */

:root {
  --bg-deep: #030712;
  --bg: #0f172a;
  --bg-muted: #111827;
  --surface: rgba(15, 23, 42, 0.72);
  --border: rgba(148, 163, 184, 0.12);
  --text: #f1f5f9;
  --text-soft: #94a3b8;
  --stk-orange: #ea580c;
  --stk-orange-soft: rgba(234, 88, 12, 0.15);
  --lima-dark: #1e293b;
  --accent-glow: rgba(234, 88, 12, 0.35);
  /* Acentos tipo portal vendedor (referencia UI, no captura) */
  --portal-green: #22c55e;
  --portal-green-soft: rgba(34, 197, 94, 0.18);
  --portal-blue: #2563eb;
  --portal-navy: #1e3a5f;
  --mock-panel-border: rgba(234, 88, 12, 0.42);
  --mock-panel-bg: rgba(3, 7, 18, 0.72);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Sans", var(--font);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  --shell: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

[id] {
  scroll-margin-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--stk-orange);
  color: #fff;
  border-radius: 0.375rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Brand wordmark */
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-size: 1.35rem;
}

.brand--header {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
}

.brand__beta-label {
  transform: translateY(0.18rem);
  padding: 0.16rem 0.48rem;
  border: 1px solid rgba(251, 191, 36, 0.48);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.13);
  color: #fcd34d;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.12);
  font-family: var(--font);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.brand--sm {
  font-size: 0.95rem;
}

.brand--footer {
  font-size: 1.5rem;
}

.brand__stk {
  color: var(--stk-orange);
}

.brand__flex {
  color: var(--text);
}

.site-header .brand .brand__flex {
  color: #e2e8f0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(3, 7, 18, 0.82);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav .nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 0.48rem 0.95rem;
  color: #fff;
  line-height: 1.1;
  text-align: center;
}

.nav .nav__cta:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-muted);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 4rem 1rem auto 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 0.65rem 0.75rem;
    border-radius: 0.5rem;
  }

  .nav a:hover {
    background: var(--bg-muted);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #fff;
  box-shadow: 0 12px 28px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 16px 36px rgba(234, 88, 12, 0.45);
}

@keyframes hero-cta-pulse {
  0%,
  100% {
    box-shadow: 0 12px 28px var(--accent-glow);
  }
  50% {
    box-shadow:
      0 14px 34px rgba(234, 88, 12, 0.42),
      0 0 0 4px rgba(234, 88, 12, 0.12);
  }
}

.btn--hero-pulse {
  animation: hero-cta-pulse 2.75s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .btn--hero-pulse {
    animation: none;
  }
}

.btn--outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn--outline:hover {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost {
  border-color: transparent;
  color: var(--text-soft);
}

.btn--ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(1.75rem, 4.5vw, 3.35rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(234, 88, 12, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 40%, rgba(59, 130, 246, 0.08), transparent 45%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 45%, var(--bg-deep) 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "copy"
    "visual"
    "metrics";
  gap: clamp(2rem, 5vw, 2.85rem);
  align-items: start;
}

.hero__copy {
  grid-area: copy;
}

@media (min-width: 960px) {
  .hero__copy {
    max-width: 30.5rem;
  }
}

.hero__visual {
  grid-area: visual;
}

.hero__metrics {
  grid-area: metrics;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 0.92fr 1.08fr;
    grid-template-areas:
      "copy visual"
      "metrics metrics";
    column-gap: clamp(2rem, 4vw, 2.75rem);
    row-gap: clamp(1.5rem, 2.5vw, 2.25rem);
    align-items: start;
  }

  .hero__visual {
    align-self: start;
    margin-top: clamp(0.65rem, 2vw, 1.5rem);
    min-height: auto;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 1.25rem;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stk-orange);
  box-shadow: 0 0 14px var(--stk-orange);
}

/* Badges de nodos ONLINE / red activa */
.node-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.4rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.42);
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(34, 197, 94, 0.12);
}

.node-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.85);
}

.node-badge--compact {
  padding: 0.28rem 0.55rem;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
}

.node-badge--outline {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(74, 222, 128, 0.55);
  color: #86efac;
}

.node-badge__dot--pulse {
  animation: node-badge-pulse 1.8s ease-out infinite;
}

@keyframes node-badge-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .node-badge__dot--pulse {
    animation: none;
  }
}

.hero__network-badge {
  margin: -0.35rem 0 1rem;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero__network-badge.node-badge {
  color: #86efac;
}

@media (min-width: 960px) {
  .eyebrow {
    margin-bottom: 0.85rem;
    font-size: 0.75rem;
  }

  .hero__network-badge {
    margin: -0.2rem 0 0.75rem;
    font-size: 0.75rem;
  }
}

/* Sección destacada: red de micro-almacenes */
.network-featured {
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 70% 70% at 0% 0%, rgba(34, 197, 94, 0.08), transparent 55%),
    linear-gradient(180deg, #07111f 0%, #030712 100%);
}

.network-featured__inner {
  padding: clamp(1.85rem, 4.5vw, 3rem);
  border-radius: calc(var(--radius-lg) + 4px);
  border: 2px solid rgba(234, 88, 12, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 50% -30%, rgba(234, 88, 12, 0.22), transparent 55%),
    linear-gradient(165deg, rgba(17, 24, 39, 0.97), rgba(15, 23, 42, 0.88));
  box-shadow:
    0 28px 60px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 100px rgba(234, 88, 12, 0.1);
}

@media (min-width: 900px) {
  .network-featured__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    gap: 1.5rem 2rem;
    align-items: center;
  }
}

.network-featured__head {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .network-featured__head {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    margin: 0;
  }
}

.network-featured__head .node-badge {
  margin-bottom: 1rem;
}

.network-featured__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.15;
}

.network-featured__intro {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.network-featured__intro strong {
  color: var(--text);
  font-weight: 600;
}

.network-featured__grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 900px) {
  .network-featured__grid {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (min-width: 720px) {
  .network-featured__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
  }
}

.network-featured__card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(155deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.72));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.network-featured__card:hover {
  border-color: rgba(234, 88, 12, 0.38);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(234, 88, 12, 0.18);
}

.network-featured__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.network-featured__card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.network-featured__card-text {
  margin: 0;
  font-size: 0.96875rem;
  line-height: 1.62;
  color: var(--text-soft);
}

.network-featured__highlight {
  margin: 2rem 0 0;
  padding: 1.1rem 1.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(234, 88, 12, 0.35);
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(15, 23, 42, 0.65));
  box-shadow: 0 12px 32px -14px rgba(234, 88, 12, 0.35);
}

@media (min-width: 900px) {
  .network-featured__highlight {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.25vw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero__title-benefit {
  display: block;
  margin-top: 0.65rem;
  font-size: clamp(1.1rem, 2.45vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-soft);
}

.text-gradient {
  background: linear-gradient(120deg, #fb923c 0%, #ea580c 45%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 32rem;
}

.hero__lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .hero__title {
    font-size: clamp(1.45rem, 2.8vw, 2.05rem);
    margin-bottom: 0.8rem;
  }

  .hero__title-benefit {
    margin-top: 0.55rem;
    font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  }

  .hero__lead {
    margin-bottom: 1rem;
    font-size: 0.94rem;
    line-height: 1.5;
    max-width: 29.5rem;
  }

  .hero__actions {
    gap: 0.6rem 0.75rem;
  }

  .hero__actions .btn {
    padding: 0.58rem 1.05rem;
    font-size: 0.875rem;
  }
}

.hero__metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
  width: 100%;
}

.hero__metrics--full {
  margin-top: 0.25rem;
}

@media (min-width: 520px) {
  .hero__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.15rem;
  }
}

@media (min-width: 960px) {
  .hero__metrics--full {
    margin-top: clamp(0.5rem, 1.5vw, 1rem);
    padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
  }
}

/* Métricas hero: tarjetas con iconos tipo Heroicons (portal STKFLEX) */
.metric-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(17, 24, 39, 0.65) 100%
  );
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.metric-tile:hover {
  border-color: rgba(234, 88, 12, 0.38);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(234, 88, 12, 0.18);
}

.metric-tile__icon {
  flex-shrink: 0;
  width: 3.125rem;
  height: 3.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.875rem;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #94a3b8;
}

.metric-tile__icon--duo {
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 0.35rem;
  width: 3.75rem;
  height: 3.75rem;
}

.metric-tile__svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.metric-tile__icon--duo .metric-tile__svg {
  width: 1.25rem;
  height: 1.25rem;
}

.metric-tile__svg--accent {
  color: #fb923c;
}

.metric-tile__icon--duo .metric-tile__svg:first-child {
  color: #94a3b8;
}

.metric-tile__body {
  min-width: 0;
}

.metric-tile__body strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.metric-tile__body > span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-soft);
  line-height: 1.45;
}

/* Glass mockup */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  min-height: 280px;
}

@media (min-width: 960px) {
  .hero__visual {
    justify-self: stretch;
    max-width: 560px;
    min-height: 300px;
  }
}

.hero__visual .glass-card--main {
  width: 100%;
}

.glass-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.65), rgba(15, 23, 42, 0.85));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.glass-card--main {
  padding: 1.35rem 1.5rem;
}

.glass-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.glass-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-soft);
}

.pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

.pill--live {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.pill--soon {
  background: var(--stk-orange-soft);
  color: #fdba74;
  border: 1px solid rgba(234, 88, 12, 0.35);
}

.mini-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
}

.mini-label {
  color: var(--text-soft);
}

.mini-value {
  font-weight: 600;
}

.mini-value.accent {
  color: #fb923c;
}

.mini-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.mini-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--stk-orange), #fbbf24);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.mini-tile {
  aspect-ratio: 1;
  border-radius: 0.5rem;
  background: rgba(148, 163, 184, 0.12);
}

.mini-tile--accent {
  background: var(--stk-orange-soft);
  border: 1px solid rgba(234, 88, 12, 0.35);
}

.glass-card--float {
  position: absolute;
  bottom: -0.5rem;
  right: -0.25rem;
  max-width: 240px;
  padding: 1rem 1.15rem;
  transform: rotate(-2deg);
}

@media (max-width: 959px) {
  .glass-card--float {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
    transform: none;
    max-width: none;
  }
}

.glass-float__text {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.glass-float__sub {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* Hero: mock tipo panel vendedor (solo CSS) */
.hero-panel-mock {
  padding: 1.25rem 1.35rem 1.35rem;
}

.hero-panel-mock__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.hero-panel-mock__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-soft);
}

.hero-panel-mock__stat {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #bfdbfe;
}

.hero-panel-mock__hint {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.hero-stepper {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.hero-stepper__step {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.hero-stepper__step--done {
  background: var(--portal-green-soft);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.hero-stepper__step--active {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fcd34d;
}

.hero-stepper__line {
  position: relative;
  flex: 1;
  min-width: 1.25rem;
  height: 2px;
  border-radius: 1px;
  background: rgba(34, 197, 94, 0.45);
  overflow: hidden;
}

.hero-stepper__line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 12px rgba(134, 239, 172, 0.85);
  transform: translate(-50%, -50%);
  animation: stepper-dot-a 2.35s ease-in-out infinite alternate;
}

.hero-stepper__line--dim {
  background: rgba(148, 163, 184, 0.25);
}

.hero-stepper__line--dim::after {
  background: #cbd5e1;
  box-shadow: 0 0 12px rgba(203, 213, 225, 0.65);
  animation: stepper-dot-b 3.15s ease-in-out infinite alternate-reverse;
}

@keyframes stepper-dot-a {
  from {
    left: 0;
  }
  to {
    left: 100%;
  }
}

@keyframes stepper-dot-b {
  from {
    left: 0;
  }
  to {
    left: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stepper__line::after {
    animation: none;
    left: 50%;
  }
}

.hero-panel-mock__wallet {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: rgba(3, 7, 18, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.hero-panel-mock__wallet-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero-panel-mock__wallet-amt {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Sección módulos portal — mocks ilustrativos */
.portal-showcase .section__head p {
  max-width: 38rem;
  margin-inline: auto;
}

/* Alternancia vendedor ↔ almacenero (manual: flechas arriba + pestañas abajo) */
.portal-dual__top {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem 1rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 560px) {
  .portal-dual__top {
    gap: 1rem 1.25rem;
  }
}

.portal-dual__arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-top: 0.2rem;
  padding: 0;
  border: 1px solid rgba(234, 88, 12, 0.35);
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.65);
  color: #fdba74;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.portal-dual__arrow:hover {
  border-color: rgba(234, 88, 12, 0.55);
  background: rgba(234, 88, 12, 0.12);
  color: #fff;
}

.portal-dual__arrow:focus-visible {
  outline: 2px solid rgba(234, 88, 12, 0.65);
  outline-offset: 2px;
}

.portal-dual__head {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.portal-showcase__h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 1.75rem;
}

.portal-dual__head-pane h3 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.portal-dual__head-pane p {
  max-width: 38rem;
  margin: 0 auto;
  color: var(--text-soft);
  line-height: 1.6;
}

.portal-dual__viewport {
  position: relative;
}

.portal-dual__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.portal-dual__tab {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.45);
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.portal-dual__tab:hover {
  border-color: rgba(234, 88, 12, 0.35);
  color: var(--text);
}

.portal-dual__tab.is-active {
  border-color: rgba(234, 88, 12, 0.55);
  background: rgba(234, 88, 12, 0.14);
  color: #fdba74;
}

.portal-dual__hint {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-soft);
  opacity: 0.9;
}

/* Panel almacenero — mocks */
.mock-host-spaces {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mock-host-spaces__chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.45);
  font-size: 0.6875rem;
}

.mock-host-spaces__name {
  font-weight: 600;
  color: var(--text);
}

.mock-host-spaces__state {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #86efac;
}

.mock-host-spaces__chip--add {
  justify-content: center;
  border-style: dashed;
  color: var(--text-soft);
  font-weight: 600;
}

.mock-host-wallet-wrap {
  background: linear-gradient(165deg, #0c1222 0%, #030712 98%);
}

.mock-host-wallet__label {
  margin: 0;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.mock-host-wallet__amt {
  margin: 0.4rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.mock-host-wallet__amt span {
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.75;
  margin-left: 0.2rem;
}

.mock-host-wallet__cta {
  display: block;
  text-align: center;
  padding: 0.55rem 0.75rem;
  border-radius: 0.45rem;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.mock-host-movs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mock-host-movs li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.35rem 0.5rem;
  align-items: start;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.625rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.mock-host-movs li:first-of-type {
  padding-top: 0;
  border-top: none;
}

.mock-host-movs__dir {
  color: #22c55e;
  font-weight: 700;
}

.mock-host-movs__amt {
  font-weight: 700;
  color: #86efac;
  white-space: nowrap;
}

.mock-host-recv {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.mock-truck-icon--recv {
  width: 2.15rem;
  height: auto;
}

.mock-host-recv__hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #94a3b8;
}

.mock-hub-brand__svg--xs {
  width: 2rem;
  height: auto;
}

.mock-host-recv__ok {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #86efac;
}

.mock-host-dispatch {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.mock-host-dispatch .mock-hub-brand--compact {
  max-width: none;
}

.mock-host-dispatch__rider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: #fb923c;
}

.mock-rider-svg--host {
  width: 2.85rem;
  height: auto;
}

.mock-host-dispatch__lbl {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.portal-bento {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .portal-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portal-bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .portal-bento--host .portal-card:nth-child(4) {
    grid-column: 2;
  }
}

.portal-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.45);
  transition: border-color 0.2s ease;
}

.portal-card:hover {
  border-color: rgba(234, 88, 12, 0.28);
}

.portal-card__text h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.portal-card__text p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.mock-ui {
  border-radius: var(--radius-lg);
  padding: 1rem 1.05rem;
  font-size: 0.75rem;
  line-height: 1.45;
}

/* Panel oscuro + borde naranja (misma familia que métricas / billetera) */
.mock-ui--panel {
  background: var(--mock-panel-bg);
  color: var(--text);
  border: 1px solid var(--mock-panel-border);
  box-shadow:
    0 0 0 1px rgba(234, 88, 12, 0.06) inset,
    0 12px 32px rgba(0, 0, 0, 0.35);
}

.mock-ui--panel-tall {
  min-height: 9.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mock-ui--panel-outbound {
  padding-bottom: 1.15rem;
}

.mock-panel__label {
  margin: 0 0 0.65rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.mock-panel-foot {
  margin: 0.75rem 0 0;
  font-size: 0.625rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.mock-panel-foot--mono {
  font-family: ui-monospace, monospace;
  font-size: 0.58rem;
}

/* Catálogo genérico (sin flujo de alta) */
.mock-catalog-generic {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-catalog-generic li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.45);
}

.mock-catalog-generic__thumb {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.35rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.35), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.mock-catalog-generic__thumb--b {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(15, 23, 42, 0.9));
  border-color: rgba(96, 165, 250, 0.25);
}

.mock-catalog-generic__thumb--c {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.28), rgba(15, 23, 42, 0.9));
  border-color: rgba(34, 197, 94, 0.25);
}

.mock-catalog-generic__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.mock-catalog-generic__name {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text);
}

.mock-catalog-generic__sub {
  font-size: 0.625rem;
  color: var(--text-soft);
}

/* Almacén compartido (misma referencia en inventario, inbound, salida) */
.mock-hub-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #94a3b8;
}

/* Mismo pictograma que métricas hero (viewBox 24×24); el tamaño lo define el contexto */
.mock-hub-brand__svg {
  display: block;
  width: 2.5rem;
  height: auto;
  flex-shrink: 0;
}

.mock-hub-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.mock-hub-brand__title {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.mock-hub-brand__addr {
  font-size: 0.5625rem;
  color: var(--text-soft);
  line-height: 1.3;
}

.mock-hub-brand--center {
  flex-direction: column;
  text-align: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.mock-hub-brand--center .mock-hub-brand__svg {
  width: 2.85rem;
}

.mock-hub-brand--compact .mock-hub-brand__svg {
  width: 2.15rem;
}

.mock-hub-brand--compact {
  flex-shrink: 0;
  max-width: 6.75rem;
}

/* Inventario: almacén + lupa · consulta | cajas apiladas a la derecha */
.mock-inv-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.5);
  align-self: flex-start;
}

.mock-inv-search__svg {
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
  color: #fb923c;
}

.mock-inv-search__lbl {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: -0.01em;
}

.mock-inv-layout {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
}

.mock-inv-layout__left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.mock-inv-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.35rem 0 0.35rem 0.6rem;
  border-left: 1px solid rgba(234, 88, 12, 0.22);
}

.mock-inv-stack__box {
  width: 2rem;
  height: 1.15rem;
  border-radius: 0.2rem;
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.mock-inv-stack__box--a {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.65), rgba(180, 83, 9, 0.45));
}

.mock-inv-stack__box--b {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.55), rgba(30, 64, 175, 0.45));
  border-color: rgba(147, 197, 253, 0.45);
}

.mock-inv-stack__box--c {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.45), rgba(21, 128, 61, 0.4));
  border-color: rgba(134, 239, 172, 0.45);
}

/* Ícono camión / carrito (mismo path que métricas hero; tamaños por contexto) */
.mock-truck-icon {
  display: block;
  color: #fb923c;
}

.mock-truck-icon--inbound {
  width: 2.65rem;
  height: auto;
}

/* Inbound: carrito animado → almacén (misma lógica que salida) */
.mock-inbound-scene {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: nowrap;
  padding: 0.15rem 0;
}

@media (max-width: 520px) {
  .mock-inbound-scene {
    flex-wrap: wrap;
  }

  .mock-inbound-track {
    order: 3;
    width: 100%;
    margin-top: 0.35rem;
  }
}

.mock-inbound-track {
  position: relative;
  flex: 1;
  min-width: 5.5rem;
  height: 3rem;
  align-self: center;
}

.mock-inbound-track__rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(234, 88, 12, 0.45),
    rgba(234, 88, 12, 0.08)
  );
}

.mock-inbound-mover {
  position: absolute;
  bottom: 8px;
  left: 0;
  display: flex;
  align-items: flex-end;
  animation: mock-inbound-delivery 3.5s ease-in-out infinite alternate;
}

@keyframes mock-inbound-delivery {
  from {
    left: 0;
  }
  to {
    left: calc(100% - 2.65rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mock-inbound-mover {
    animation: none;
    left: 28%;
  }
}

.mock-inbound-arrow {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-soft);
  opacity: 0.85;
  flex-shrink: 0;
}

/* Salida: mismo almacén — caja animada + reparto — cliente */
.mock-outbound-scene {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: nowrap;
  padding: 0.15rem 0;
}

@media (max-width: 520px) {
  .mock-outbound-scene {
    flex-wrap: wrap;
  }

  .mock-outbound-track {
    order: 3;
    width: 100%;
    margin-top: 0.35rem;
  }
}

.mock-outbound-track {
  position: relative;
  flex: 1;
  min-width: 5.5rem;
  height: 3rem;
  align-self: center;
}

.mock-outbound-track__rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(234, 88, 12, 0.45),
    rgba(234, 88, 12, 0.08)
  );
}

.mock-outbound-mover {
  position: absolute;
  bottom: 4px;
  left: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  animation: mock-outbound-delivery 3.5s ease-in-out infinite alternate;
}

@keyframes mock-outbound-delivery {
  from {
    left: 0;
  }
  to {
    left: calc(100% - 4.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mock-outbound-mover {
    animation: none;
    left: 28%;
  }
}

.mock-outbound-parcel {
  display: block;
  width: 1.15rem;
  height: 0.85rem;
  border-radius: 2px;
  background: rgba(234, 88, 12, 0.65);
  border: 1px solid rgba(251, 191, 36, 0.55);
  margin-bottom: 2px;
}

.mock-rider-svg {
  width: 3.35rem;
  height: auto;
  flex-shrink: 0;
  color: #fb923c;
}

.mock-client-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.mock-client-pin__svg {
  width: 1.5rem;
  height: auto;
  color: #fb923c;
}

/* Trazabilidad = estados API (orders.schema) */
.mock-trace {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mock-trace__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.35);
}

.mock-trace__code {
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.2rem 0.45rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text-soft);
}

.mock-trace__sep {
  color: rgba(148, 163, 184, 0.45);
  font-size: 0.75rem;
}

.mock-trace__label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #e2e8f0;
}

.mock-trace__row--pending .mock-trace__code {
  border-color: rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.12);
}

.mock-trace__row--dispatched .mock-trace__code {
  border-color: rgba(59, 130, 246, 0.45);
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.18);
}

.mock-trace__row--completed .mock-trace__code {
  border-color: rgba(34, 197, 94, 0.45);
  color: #bbf7d0;
  background: rgba(22, 163, 74, 0.18);
}

.mock-panel-icon-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.mock-panel-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #fb923c;
}

.mock-res-badge {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: var(--portal-green-soft);
  color: #86efac;
  margin-bottom: 0.65rem;
}

.mock-res-badge--inline {
  margin-bottom: 0;
}

.mock-price-lines {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  font-size: 0.6875rem;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

.mock-price-lines--panel span:nth-child(even) {
  font-weight: 700;
  color: var(--text);
}

.mock-price-lines span:nth-child(even) {
  font-weight: 700;
  color: #f1f5f9;
}

.mock-wallet-inline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.6875rem;
}

.mock-wallet-inline--panel {
  background: rgba(3, 7, 18, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.mock-wallet-inline strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.mock-pay-hint {
  margin: 0.55rem 0 0;
  font-size: 0.625rem;
  color: var(--text-soft);
  opacity: 0.9;
}

.mock-pay-hint--panel {
  text-align: center;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--muted {
  background:
    radial-gradient(ellipse 70% 65% at 100% 0%, rgba(37, 99, 235, 0.09), transparent 58%),
    linear-gradient(180deg, #020617 0%, #111827 50%, #030712 100%);
}

.section--dark {
  background:
    radial-gradient(ellipse 70% 60% at 0% 10%, rgba(234, 88, 12, 0.08), transparent 55%),
    #0f172a;
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 42rem;
  margin-bottom: 2.75rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 36rem;
}

.section__head h2,
.split__col h2,
.cta-box__text h2,
.app-banner__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__head p,
.split__lead {
  margin: 0;
  color: var(--text-soft);
}

.cards-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.55);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(234, 88, 12, 0.35);
  transform: translateY(-3px);
}

.feature-card h3 {
  font-size: 1.125rem;
  margin: 0 0 0.65rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-soft);
}

.feature-card__icon {
  font-size: 1.5rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.feature-card__icon--orange {
  color: var(--stk-orange);
}

/* Solución resumida: stock local + operación flexible */
#solucion .shell {
  display: grid;
  gap: 2rem;
}

.solution-split {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .solution-split {
    grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  }
}

.solution-split--intro {
  align-items: center;
}

@media (min-width: 900px) {
  .solution-split--intro .section__head {
    margin: 0;
    text-align: left;
  }
}

.solution-panel {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.82), rgba(3, 7, 18, 0.62));
  box-shadow: 0 18px 44px -26px rgba(0, 0, 0, 0.7);
}

.solution-panel--map {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 75% 70% at 50% -20%, rgba(234, 88, 12, 0.18), transparent 58%),
    linear-gradient(155deg, rgba(15, 23, 42, 0.88), rgba(3, 7, 18, 0.72));
}

.solution-panel h3 {
  margin: 0.95rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.solution-panel p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96875rem;
}

.solution-map {
  margin-top: 1rem;
  border-radius: var(--radius);
  background: rgba(3, 7, 18, 0.4);
}

.solution-kpis {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

@media (min-width: 560px) {
  .solution-kpis {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-kpis div {
  padding: 0.8rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.solution-kpis strong {
  display: block;
  color: #fdba74;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
}

.solution-kpis span {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-soft);
  font-size: 0.75rem;
  line-height: 1.35;
}

.solution-list {
  position: relative;
  display: grid;
  gap: 0.95rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .solution-panel--flow .solution-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .solution-panel--flow .solution-list li:nth-child(1) {
    grid-column: auto;
    grid-row: auto;
  }

  .solution-panel--flow .solution-list li:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .solution-panel--flow .solution-list li:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .solution-panel--flow .solution-list li:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
}

.solution-list li {
  position: relative;
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.solution-list li:hover {
  border-color: rgba(234, 88, 12, 0.38);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(234, 88, 12, 0.18);
}

.solution-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

/* Red de nodos / mapa de calor (Lima ↔ Trujillo) */
.nodes-heatmap {
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 88, 12, 0.28);
  background:
    radial-gradient(ellipse 85% 120% at 78% 20%, rgba(234, 88, 12, 0.18), transparent 52%),
    radial-gradient(ellipse 55% 90% at 22% 75%, rgba(59, 130, 246, 0.08), transparent 48%),
    linear-gradient(165deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.72));
  box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.nodes-heatmap__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.nodes-heatmap__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nodes-heatmap__badge {
  flex-shrink: 0;
  text-transform: uppercase;
  font-size: 0.6875rem;
}

.nodes-heatmap__pitch {
  margin: 0 0 1.25rem;
  font-size: 0.96875rem;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 48rem;
}

.nodes-heatmap__pitch strong {
  color: var(--text);
  font-weight: 600;
}

.nodes-heatmap__viz {
  position: relative;
  height: 6rem;
  border-radius: var(--radius);
  background: rgba(3, 7, 18, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.nodes-heatmap__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.85;
  pointer-events: none;
}

.nodes-heatmap__glow--lima {
  width: 42%;
  height: 140%;
  left: 8%;
  bottom: -40%;
  background: rgba(59, 130, 246, 0.28);
}

.nodes-heatmap__glow--trujillo {
  width: 48%;
  height: 160%;
  right: 6%;
  bottom: -45%;
  background: rgba(234, 88, 12, 0.42);
  animation: node-heat-glow 3s ease-in-out infinite alternate;
}

@keyframes node-heat-glow {
  from {
    opacity: 0.65;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nodes-heatmap__glow--trujillo {
    animation: none;
  }
}

/* Ruta Lima ↔ Trujillo (misma lógica que mock-inbound: carrito en rail) */
.nodes-heatmap__route {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.45rem;
  height: 100%;
  padding: 0.5rem 0.65rem 0.55rem;
  flex-wrap: nowrap;
}

.nodes-heatmap__label {
  flex-shrink: 0;
  align-self: flex-end;
  padding-bottom: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.72);
}

.nodes-heatmap__label--lima {
  min-width: 2.5rem;
}

.nodes-heatmap__label--trujillo {
  text-align: right;
  min-width: 3.75rem;
  color: #fdba74;
}

.nodes-heatmap__track {
  position: relative;
  flex: 1;
  min-width: 4rem;
  height: 2.85rem;
  align-self: flex-end;
}

.nodes-heatmap__rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.5),
    rgba(148, 163, 184, 0.15) 45%,
    rgba(234, 88, 12, 0.55)
  );
}

.nodes-heatmap__mover {
  position: absolute;
  bottom: 8px;
  left: 0;
  display: flex;
  align-items: flex-end;
  color: var(--stk-orange);
  filter: drop-shadow(0 2px 6px rgba(234, 88, 12, 0.35));
  animation: nodes-heatmap-shuttle 4.5s ease-in-out infinite alternate;
}

.nodes-heatmap__truck {
  width: 2.65rem;
  height: auto;
  display: block;
}

@keyframes nodes-heatmap-shuttle {
  from {
    left: 0;
  }
  to {
    left: calc(100% - 2.65rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nodes-heatmap__mover {
    animation: none;
    left: 42%;
  }
}

@media (max-width: 420px) {
  .nodes-heatmap__route {
    flex-wrap: wrap;
    row-gap: 0.25rem;
    padding-bottom: 0.45rem;
  }

  .nodes-heatmap__track {
    order: 3;
    flex: 1 1 100%;
    min-width: 100%;
    margin-top: 0.15rem;
  }

  .nodes-heatmap__label--lima {
    order: 1;
  }

  .nodes-heatmap__label--trujillo {
    order: 2;
    margin-left: auto;
  }
}

.trust-guarantee-callout {
  margin: 2rem 0 0;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 88, 12, 0.25);
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.1), rgba(15, 23, 42, 0.65));
  font-size: 0.96875rem;
  line-height: 1.6;
  color: var(--text-soft);
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

.trust-guarantee-callout strong {
  color: var(--text);
  font-weight: 700;
}

/* FAQ (<details> / <summary>) */
.section--faq {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(ellipse 70% 65% at 0% 0%, rgba(59, 130, 246, 0.09), transparent 58%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.85) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border);
}

.faq__head {
  margin-bottom: 2rem;
}

.faq__intro {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.faq-layout {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .faq-layout {
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 2rem;
  }
}

.faq-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(ellipse 80% 75% at 50% -20%, rgba(234, 88, 12, 0.16), transparent 60%),
    rgba(15, 23, 42, 0.55);
  text-align: center;
}

.faq-aside__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid rgba(234, 88, 12, 0.42);
  background: rgba(234, 88, 12, 0.14);
  color: #fdba74;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.faq-aside h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.faq-aside p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96875rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.72);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(234, 88, 12, 0.22);
  transform: translateY(-1px);
}

.faq-item[open] {
  border-color: rgba(234, 88, 12, 0.32);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--stk-orange);
  line-height: 1.2;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item summary:focus-visible {
  outline: 2px solid rgba(234, 88, 12, 0.55);
  outline-offset: 2px;
  border-radius: calc(var(--radius) - 2px);
}

.faq-item__body {
  padding: 0 1.2rem 1.15rem;
  color: var(--text-soft);
  font-size: 0.96875rem;
  line-height: 1.65;
  animation: faq-reveal 0.22s ease;
}

@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item__body p {
  margin: 0;
}

.faq-item__body a {
  color: #fdba74;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.faq-item__body a:hover {
  color: #fed7aa;
}

/* Steps */
#como-funciona {
  background:
    radial-gradient(ellipse 70% 60% at 100% 10%, rgba(234, 88, 12, 0.1), transparent 55%),
    linear-gradient(180deg, #07111f 0%, #030712 100%);
}

@media (min-width: 900px) {
  #como-funciona .shell {
    display: grid;
    grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
    gap: 2.25rem;
    align-items: center;
  }

  #como-funciona .section__head {
    margin: 0;
    text-align: left;
  }
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .steps--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps__item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(17, 24, 39, 0.55);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.steps__item:hover {
  border-color: rgba(234, 88, 12, 0.38);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(234, 88, 12, 0.18);
}

.steps__num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--stk-orange);
  opacity: 0.9;
  line-height: 1;
}

.steps__item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.steps__item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-soft);
}

/* Split audience */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 3rem;
  }
}

.split__lead {
  font-size: 1.0625rem;
}

.split__col--cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .split__col--cards {
    grid-template-columns: 1fr 1fr;
  }

  .split__col--cards.split__col--audience-triple {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 960px) {
  .split__col--cards.split__col--audience-triple {
    grid-template-columns: 1fr;
  }
}

.audience-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.35);
}

@media (min-width: 960px) {
  .audience-card {
    display: grid;
    grid-template-columns: minmax(9rem, 0.36fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }
}

.audience-card--accent {
  border-color: rgba(234, 88, 12, 0.4);
  background: linear-gradient(160deg, rgba(234, 88, 12, 0.12), rgba(15, 23, 42, 0.6));
}

.audience-card h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

@media (min-width: 960px) {
  .audience-card h3 {
    margin-bottom: 0;
  }
}

.audience-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-soft);
  font-size: 0.9375rem;
}

@media (min-width: 720px) {
  .audience-card ul {
    columns: 2;
    column-gap: 1.5rem;
  }
}

.audience-card li {
  margin-bottom: 0.5rem;
}

/* App banner */
.section--app {
  padding-bottom: 0;
}

.app-banner {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(234, 88, 12, 0.14), transparent 55%),
    rgba(17, 24, 39, 0.65);
}

@media (min-width: 880px) {
  .app-banner {
    grid-template-columns: 1fr auto;
    gap: 3rem;
  }
}

.app-banner__content p {
  margin: 0;
  max-width: 36rem;
  color: var(--text-soft);
}

.app-banner__content h2 {
  margin-top: 0.75rem;
}

.phone-frame {
  width: 180px;
  margin-inline: auto;
  padding: 0.5rem;
  border-radius: 2rem;
  background: linear-gradient(160deg, #334155, #0f172a);
  box-shadow: var(--shadow);
}

.phone-frame__notch {
  width: 48%;
  height: 22px;
  margin: 0 auto 0.35rem;
  border-radius: 0 0 1rem 1rem;
  background: #0f172a;
}

.phone-frame__screen {
  border-radius: 1.35rem;
  background: var(--bg-deep);
  padding: 1rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phone-placeholder {
  flex: 1;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, rgba(234, 88, 12, 0.12), rgba(15, 23, 42, 0.9));
  border: 1px dashed rgba(148, 163, 184, 0.2);
}

/* CTA */
.section--cta {
  padding-top: 2rem;
  background:
    radial-gradient(ellipse 75% 65% at 100% 0%, rgba(234, 88, 12, 0.12), transparent 58%),
    linear-gradient(180deg, #030712 0%, #0f172a 100%);
}

.cta-box {
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 88, 12, 0.25);
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.1) 0%, rgba(15, 23, 42, 0.95) 50%);
}

.section--expansion {
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(34, 197, 94, 0.08), transparent 55%),
    #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

@media (min-width: 900px) {
  .section--expansion .shell {
    display: grid;
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: center;
  }

  .section--expansion h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.1rem);
  }

  .section--expansion p {
    margin: 0;
  }
}

@media (min-width: 768px) {
  .cta-box {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cta-box__text p {
  margin: 0.75rem 0 0;
  color: var(--text-soft);
  max-width: 36rem;
}

.cta-box__actions {
  text-align: center;
}

@media (min-width: 768px) {
  .cta-box__actions {
    text-align: right;
  }
}

.cta-hint {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--text-soft);
  max-width: 280px;
  margin-inline: auto 0;
}

.cta-hint code {
  font-size: 0.7rem;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
}

/* Contacto */
.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
}

.contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.25rem;
  color: #bfdbfe;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.875rem;
}

.contact-list a:hover {
  color: #fdba74;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1.45fr 0.9fr 1.1fr;
    align-items: start;
  }
}

.footer__domain {
  font-weight: 600;
  color: var(--stk-orange);
  margin: 0.25rem 0 0.75rem;
}

.footer__small {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-soft);
  max-width: 22rem;
}

.footer__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9375rem;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__muted {
  font-size: 0.875rem;
  color: var(--text-soft);
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-soft);
}

.footer__portal-note {
  margin-top: 0.65rem !important;
  font-size: 0.75rem !important;
  max-width: 26rem;
  margin-inline: auto !important;
  line-height: 1.5;
  opacity: 0.92;
}

/* Splash inicial (tipo Android): envío → almacén, luego la landing */
html.splash-is-active {
  overflow: hidden;
}

html.splash-is-active body {
  overflow: hidden;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: radial-gradient(
      ellipse 85% 65% at 50% -15%,
      rgba(234, 88, 12, 0.14),
      transparent 52%
    ),
    linear-gradient(180deg, var(--bg-deep) 0%, #070d18 50%, var(--bg-deep) 100%);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

.splash-screen.splash-screen--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-screen__inner {
  width: min(22rem, 100%);
  text-align: center;
}

.splash-screen__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.splash-screen__brand-stk {
  color: var(--stk-orange);
}

.splash-screen__brand-flex {
  color: var(--text);
}

.splash-screen__tagline {
  margin: 0 0 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.splash-screen__scene {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem 1rem;
  flex-wrap: nowrap;
}

.splash-screen__track {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 14rem;
  height: 4.25rem;
}

.splash-screen__rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(234, 88, 12, 0.45),
    rgba(234, 88, 12, 0.12)
  );
}

.splash-screen__mover {
  position: absolute;
  bottom: 0.85rem;
  left: 0;
  display: flex;
  align-items: flex-end;
  animation: splash-truck-to-hub 2.85s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

@keyframes splash-truck-to-hub {
  0% {
    left: 0;
    transform: translateY(0);
  }
  88% {
    left: calc(100% - 3.35rem);
    transform: translateY(0);
  }
  100% {
    left: calc(100% - 3.35rem);
    transform: translateY(-2px);
  }
}

.splash-screen__truck {
  width: 3.35rem;
  height: auto;
  display: block;
  color: #fb923c;
  filter: drop-shadow(0 4px 14px rgba(234, 88, 12, 0.35));
}

.splash-screen__hub {
  flex-shrink: 0;
  padding-bottom: 0.15rem;
}

.splash-screen__warehouse {
  width: 3.75rem;
  height: auto;
  display: block;
  color: #94a3b8;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.splash-screen__skip {
  margin-top: 1.75rem;
  padding: 0.4rem 0.85rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-soft);
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.splash-screen__skip:hover {
  color: var(--text);
  border-color: rgba(234, 88, 12, 0.45);
  background: rgba(234, 88, 12, 0.08);
}

.splash-screen__skip:focus-visible {
  outline: 2px solid rgba(234, 88, 12, 0.65);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .splash-screen__mover {
    animation: none;
    left: calc(100% - 3.35rem);
  }
}

/* Aviso movilidad / última milla a cargo del usuario */
.section--logistics-notice {
  padding-block: 2.25rem;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(3, 7, 18, 0.96) 100%
  );
  border-block: 1px solid var(--border);
}

.logistics-callout__head {
  margin-bottom: 1.5rem;
  max-width: 52rem;
}

.logistics-callout__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.logistics-callout__intro {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.logistics-callout__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .logistics-callout__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.logistics-callout__card {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--border);
}

.logistics-callout__card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.logistics-callout__card p {
  margin: 0;
  font-size: 0.90625rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.logistics-callout__card strong {
  color: var(--text);
  font-weight: 600;
}

.logistics-callout__partners {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(234, 88, 12, 0.06);
}

.logistics-callout__partners-placeholder {
  margin: 0;
  font-size: 0.90625rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.logistics-callout__partners-hint {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  font-style: italic;
  color: rgba(148, 163, 184, 0.85);
}

.term-tip {
  cursor: help;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.15em;
}

/* Seguridad y confianza — tarjetas vidrio / acento naranja */
.trust-section--glass {
  padding-block: clamp(2.75rem, 6vw, 4rem);
  background: linear-gradient(
    180deg,
    rgba(3, 7, 18, 0.98) 0%,
    rgba(15, 23, 42, 0.92) 45%,
    rgba(3, 7, 18, 0.98) 100%
  );
  border-block: 1px solid var(--border);
}

.trust-section__head {
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .trust-section .shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    gap: 2rem;
    align-items: center;
  }

  .trust-section__head {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    text-align: left;
  }

  .trust-section .trust-glass-grid {
    grid-column: 1;
    grid-row: 1;
  }

  .trust-section .trust-guarantee-callout {
    grid-column: 1 / -1;
  }
}

.trust-glass-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .trust-glass-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.trust-glass-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 88, 12, 0.22);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.52), rgba(15, 23, 42, 0.82));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    var(--shadow),
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 0 40px rgba(234, 88, 12, 0.04);
  padding: 1.65rem 1.5rem;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.trust-glass-card:hover {
  border-color: rgba(234, 88, 12, 0.45);
  transform: translateY(-4px);
  box-shadow:
    0 28px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(234, 88, 12, 0.15) inset,
    0 0 48px rgba(234, 88, 12, 0.08);
}

.trust-glass-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  margin-bottom: 1.15rem;
  color: var(--stk-orange);
  background: var(--stk-orange-soft);
  border: 1px solid rgba(234, 88, 12, 0.38);
  box-shadow: 0 0 24px rgba(234, 88, 12, 0.12);
}

.trust-glass-card__icon svg {
  flex-shrink: 0;
}

.trust-glass-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.trust-glass-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* --- WhatsApp flotante (solo landing) --- */
.wa-float {
  --wa-green: #25d366;
  --wa-green-dark: #128c7e;
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  font-family: var(--font);
}

.wa-float__panel {
  width: min(calc(100vw - 2rem), 20.5rem);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.wa-float__panel[hidden] {
  display: none !important;
}

.wa-float__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.5rem 0.7rem 0.85rem;
  background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-green-dark) 100%);
  color: #fff;
}

.wa-float__header-icon {
  display: flex;
  flex-shrink: 0;
  opacity: 0.95;
}

.wa-float__title {
  flex: 1;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.wa-float__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
}

.wa-float__close:hover,
.wa-float__close:focus-visible {
  opacity: 1;
  background: rgba(0, 0, 0, 0.12);
  outline: none;
}

.wa-float__body {
  padding: 1rem 1rem 1.1rem;
}

.wa-float__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  margin: 0 0 0.45rem;
}

.wa-float__textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  resize: vertical;
  min-height: 5.5rem;
  box-sizing: border-box;
}

.wa-float__textarea::placeholder {
  color: #94a3b8;
}

.wa-float__textarea:focus {
  outline: 2px solid rgba(37, 211, 102, 0.45);
  outline-offset: 1px;
  border-color: var(--wa-green);
}

.wa-float__send {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 0.65rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-green-dark) 100%);
  box-shadow: 0 4px 14px rgba(18, 140, 126, 0.35);
}

.wa-float__send:hover,
.wa-float__send:focus-visible {
  filter: brightness(1.05);
  outline: none;
}

.wa-float__send:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.45);
}

.wa-float__fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--wa-green);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wa-float__fab:hover,
.wa-float__fab:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  outline: none;
}

.wa-float__fab:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.5), 0 10px 28px rgba(0, 0, 0, 0.35);
}

.wa-float__fab-svg {
  display: block;
}
