/* Speedy Logistics — Stitch telemetry design layer */

.site-stitch {
  --hazard: #ff5000;
  --hazard-hover: #ea580c;
  --amber: #f59e0b;
  --radar: #10b981;
  --signal: #2563eb;
  --slate-surface: #0b111d;
  --slate-panel: #101828;
  --slate-element: #1e293b;
  --border-grid: #334155;
  --text-primary: #0f172a;
  --text-muted: #64748b;
  --canvas: #f8fafc;
  --panel: #ffffff;
  --brand: var(--hazard);
  --brand-deep: var(--hazard-hover);
  --ink: var(--text-primary);
  --muted: var(--text-muted);
  --line: #e2e8f0;
  --paper: var(--canvas);
  --navy: var(--slate-panel);
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "Geist", "Segoe UI", sans-serif;
  --mono: "Geist", ui-monospace, monospace;
  --max: 80rem;
  --radius: 0;
  color-scheme: light;
}

html.dark body.site-stitch,
html.dark .site-stitch {
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --canvas: #0b1323;
  --panel: #101828;
  --line: #334155;
  --ink: #f8fafc;
  --muted: #94a3b8;
  color-scheme: dark;
}

.site-stitch body,
body.site-stitch {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
}

body.site.site-stitch {
  overflow-x: clip;
}

.site-stitch .wrap {
  width: min(var(--max), calc(100% - 2rem));
}

.site-stitch img,
.site-stitch svg {
  max-width: 100%;
}

/* Evita que site.css agrande el logo en móvil (164px+) */
body.site-stitch .brand img {
  height: auto;
  width: auto;
}

body.site-stitch .brand--compact img {
  height: 4.3rem;
  max-width: min(15rem, 66vw);
  object-fit: contain;
  object-position: left center;
  display: block;
}

.site-stitch h1,
.site-stitch h2,
.site-stitch h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-stitch .icon-ms {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.site-stitch .btn {
  border-radius: var(--radius);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-family: var(--display);
}

.site-stitch .btn-brand {
  background: var(--hazard);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 80, 0, 0.25);
}

.site-stitch .btn-brand:hover {
  background: var(--hazard-hover);
}

.site-stitch .btn-ghost {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

html.dark .site-stitch .btn-ghost {
  background: var(--slate-element);
  border-color: var(--border-grid);
}

.site-stitch .btn-icon {
  min-width: 44px;
  padding: 0;
}

.site-stitch .btn-theme-toggle {
  min-width: auto;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.site-stitch .btn-theme-toggle .theme-icon,
.site-stitch .btn-theme-toggle .theme-label {
  color: inherit;
}

.site-stitch .nav-toggle--stitch {
  display: none;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.65rem;
  gap: 0.45rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 92%, var(--ink) 4%);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
  margin-left: auto;
}

html.dark .site-stitch .nav-toggle--stitch {
  background: var(--slate-element);
  border-color: var(--border-grid);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.site-stitch .nav-toggle--stitch .burger,
.site-stitch .nav-toggle--stitch .burger::before,
.site-stitch .nav-toggle--stitch .burger::after {
  background: currentColor;
  height: 2px;
  width: 16px;
}

.site-stitch .nav-toggle__label {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.site-stitch .nav-check:checked + .nav-toggle--stitch {
  border-color: var(--hazard);
  background: color-mix(in srgb, var(--hazard) 12%, var(--panel));
  color: var(--hazard);
}

html.dark .site-stitch .nav-check:checked + .nav-toggle--stitch {
  background: color-mix(in srgb, var(--hazard) 18%, var(--slate-element));
}

.site-stitch .theme-icon--light,
.site-stitch .theme-label--to-light { display: none; }

html.dark .site-stitch .theme-icon--dark,
html.dark .site-stitch .theme-label--to-dark { display: none; }

html.dark .site-stitch .theme-icon--light,
html.dark .site-stitch .theme-label--to-light { display: inline; }

/* Botón tema: una sola etiqueta visible (evita solapamiento en móvil/tablet) */
.site-stitch .btn-theme-toggle .theme-label--to-dark {
  display: inline;
}

.site-stitch .btn-theme-toggle .theme-label--to-light {
  display: none;
}

html.dark .site-stitch .btn-theme-toggle .theme-label--to-dark {
  display: none;
}

html.dark .site-stitch .btn-theme-toggle .theme-label--to-light {
  display: inline;
}

.site-stitch .btn-theme-toggle .theme-icon--light {
  display: none;
}

html.dark .site-stitch .btn-theme-toggle .theme-icon--dark {
  display: none;
}

html.dark .site-stitch .btn-theme-toggle .theme-icon--light {
  display: inline;
}

.main-stitch {
  padding-top: 7.75rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: color-mix(in srgb, var(--panel) 95%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--canvas) 90%, var(--panel));
  font-family: var(--mono);
  font-size: 0.68rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--radar);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.topbar-kicker {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.topbar-sep { color: var(--line); }
.topbar-link {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.topbar-link:hover { color: var(--hazard); }
.topbar-wa:hover { color: var(--radar); }

.header-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.9rem;
  position: relative;
}

.site-stitch .nav-stitch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  justify-content: center;
}

.site-stitch .header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.site-stitch .header-main > .brand--compact {
  margin-right: 0;
  flex: none;
}

.site-stitch #contacto-corporativo .band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.site-stitch .brand--compact {
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  line-height: 0;
  flex-shrink: 0;
}

.site-stitch .brand--compact:focus-visible {
  outline: 2px solid var(--hazard);
  outline-offset: 4px;
  border-radius: 2px;
}

.site-stitch .brand--compact img {
  height: 4.3rem;
  width: auto;
  max-width: min(15rem, 66vw);
  object-fit: contain;
  object-position: left center;
  vertical-align: middle;
}

.site-stitch .nav-stitch > a:not(.btn) {
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
}

.site-stitch .nav-stitch > a:not(.btn):hover {
  background: color-mix(in srgb, var(--panel) 80%, var(--hazard) 5%);
  color: var(--ink);
}

.site-stitch .nav-stitch > a[aria-current="page"] {
  color: var(--hazard);
  font-weight: 700;
}

.hero-stitch {
  position: relative;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-stitch::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(var(--hazard) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-stitch-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-stitch h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1;
  margin-top: 0.75rem;
}

.hero-stitch h1 em {
  font-style: italic;
  color: var(--hazard);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.hero-metrics strong {
  font-family: var(--display);
  font-size: 1.75rem;
  display: block;
}

.hero-metrics span {
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-metrics li:nth-child(2) strong { color: var(--hazard); }
.hero-metrics li + li {
  border-left: 1px solid var(--line);
  padding-left: 0.75rem;
}

.fleet-card {
  border: 1px solid var(--line);
  background: var(--slate-surface);
  overflow: hidden;
  position: relative;
}

.fleet-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: filter 0.35s ease;
}

.fleet-card:hover img {
  filter: brightness(1.04) contrast(1.02);
}

.fleet-banner img {
  object-position: center 40%;
}

.fleet-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 0.75rem;
  background: linear-gradient(transparent, rgba(2, 6, 23, 0.92));
  color: #fff;
  font-size: 0.72rem;
}

.fleet-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-grid);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fleet-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding: 0.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 0.65rem;
  text-align: center;
}

.value-strip {
  padding: 1.25rem 0;
  background: color-mix(in srgb, var(--canvas) 70%, var(--line));
  border-bottom: 1px solid var(--line);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.value-item {
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.value-item .icon-ms { color: var(--hazard); font-size: 1.35rem; }
.value-item:nth-child(2) .icon-ms { color: var(--radar); }
.value-item:nth-child(3) .icon-ms { color: var(--signal); }
.value-item:nth-child(4) .icon-ms { color: var(--amber); }

.cityline-stitch {
  margin: 0.75rem 0 0;
  padding: 0.5rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow-x: auto;
  white-space: nowrap;
}

.dual-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.dual-panel--balanced {
  align-items: stretch;
}

.dual-panel--balanced .hud-panel {
  min-height: 100%;
}

.hud-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hud-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.hud-kicker {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hazard);
  font-weight: 700;
}

.hud-panel h2 {
  font-size: 1.15rem;
  margin-top: 0.15rem;
}

.chip-live {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--radar);
  border: 1px solid var(--line);
  padding: 0.15rem 0.4rem;
  background: color-mix(in srgb, var(--radar) 8%, var(--panel));
}

.track-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.track-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: start;
  padding: 0.65rem;
  background: color-mix(in srgb, var(--canvas) 60%, var(--panel));
  border-left: 2px solid var(--radar);
  font-size: 0.82rem;
}

.track-step.is-active {
  border-left-color: var(--hazard);
  background: color-mix(in srgb, var(--hazard) 6%, var(--panel));
}

.track-step.is-pending {
  border-left-color: var(--line);
  opacity: 0.75;
}

.track-step strong { display: block; }
.track-step span { color: var(--muted); font-size: 0.75rem; }

.home-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.home-quote-grid .field.full { grid-column: 1 / -1; }

.home-quote-grid label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.site-stitch .control {
  border-radius: var(--radius);
  border-color: var(--line);
  background: color-mix(in srgb, var(--canvas) 50%, var(--panel));
}

.site-stitch .control:focus {
  border-color: var(--hazard);
  outline: none;
  box-shadow: 0 0 0 1px var(--hazard);
}

.card-stitch {
  background: color-mix(in srgb, var(--canvas) 40%, var(--panel));
  border: 1px solid var(--line);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-stitch-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--hazard) 12%, var(--panel));
  color: var(--hazard);
}

.fleet-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-top: 1.5rem;
  background: var(--panel);
}

.fleet-banner img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.fleet-banner__copy {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  border-left: 1px solid var(--line);
}

.fleet-banner__copy h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.cov-grid-stitch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.cov-tile {
  text-align: center;
  padding: 0.65rem;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.72rem;
}

.cov-tile.is-hub {
  border-color: var(--hazard);
  background: color-mix(in srgb, var(--hazard) 6%, var(--panel));
}

.cov-tile strong { display: block; }
.cov-tile .km { color: var(--hazard); font-family: var(--mono); }

.site-footer--stitch {
  background: var(--slate-surface);
  color: #cbd5e1;
  border-top: 1px solid var(--border-grid);
}

.site-footer--stitch a { color: #e2e8f0; }
.site-footer--stitch a:hover { color: var(--hazard); }
.site-footer--stitch .foot-title { color: #94a3b8; }
.site-footer--stitch .foot-badges {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: #94a3b8;
}

.site-footer--stitch .brand--compact {
  background: transparent;
  padding: 0;
  margin-bottom: 0.35rem;
}

.site-footer--stitch .brand--compact img {
  height: auto;
  max-width: 14.25rem;
  width: auto;
  display: block;
}

.site-footer--stitch .foot-credits {
  margin: 0;
  padding: 0 0 1.35rem;
  text-align: center;
  font-size: 0.72rem;
  color: #64748b;
  letter-spacing: 0.01em;
}

.site-footer--stitch .foot-credits a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
}

.site-footer--stitch .foot-credits a:hover {
  color: var(--hazard);
  text-decoration: underline;
}

.site-stitch .ticket-mark {
  background: transparent;
  border: 0;
  padding: 0;
  line-height: 0;
}

.site-stitch .ticket-mark img {
  height: 4.15rem;
  width: auto;
  max-width: 15rem;
  object-fit: contain;
}

.wa--round {
  border-radius: 50%;
  padding: 0.85rem;
  background: #25d366;
}

.wa--round:hover { background: #20ba59; }

.faq-stitch details {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1rem;
}

.faq-stitch summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.section-stitch {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.section-stitch--alt {
  background: color-mix(in srgb, var(--canvas) 88%, var(--line));
}

.section-stitch--tight {
  padding: 1.25rem 0 2rem;
}

.clients-stitch .clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.client-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: 1.1rem 1.35rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
}

.client-logo-tile img {
  display: block;
  max-width: min(100%, 11rem);
  max-height: 3.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-logo-tile--dark {
  background: #0c0c0c;
  border-color: color-mix(in srgb, var(--line) 35%, #000);
}

.site-stitch .section-head {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

.site-stitch .section-head--center {
  margin-inline: auto;
  text-align: center;
}

.site-stitch .section-head--center .eyebrow {
  justify-content: center;
}

.site-stitch .section-lede {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 52ch;
}

.site-stitch .section-head--center .section-lede {
  margin-inline: auto;
}

.section-cta {
  margin-top: 1.75rem;
  text-align: center;
}

.wrap--narrow {
  max-width: 42rem;
}

/* Acceso rápido */
.quick-access {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.quick-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.quick-tile:hover {
  border-color: var(--hazard);
  transform: translateY(-2px);
}

.quick-tile .icon-ms {
  color: var(--hazard);
  font-size: 1.5rem;
}

.quick-tile__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quick-tile__desc {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Grillas unificadas */
.card-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card-stitch--action {
  justify-content: space-between;
  min-height: 100%;
}

.card-stitch__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.card-stitch--link {
  justify-content: space-between;
}

.card-stitch--link .text-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.85rem;
}

.card-stitch--accent {
  border-color: color-mix(in srgb, var(--hazard) 35%, var(--line));
}

.card-stitch-icon--green {
  color: var(--radar) !important;
  background: color-mix(in srgb, var(--radar) 12%, var(--panel)) !important;
}

.tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.tag--orange { color: var(--hazard); }
.tag--green { color: var(--radar); }
.tag--blue { color: var(--signal); }

/* Pasos */
.steps-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.step-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-tile__num {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--hazard) 45%, transparent);
  line-height: 1;
}

.step-tile h3 {
  font-size: 1rem;
  margin: 0;
}

.step-tile p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.stats-row {
  margin-bottom: 1.25rem;
}

.stat-box {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--hazard);
}

.stat-box span {
  font-size: 0.78rem;
  color: var(--muted);
}

.split-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.split-panel__main .section-head {
  margin-bottom: 1rem;
}

.ticks--clean {
  margin: 1rem 0 1.25rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-card {
  position: sticky;
  top: 8.5rem;
}

.contact-lines {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.88rem;
}

.contact-lines li span {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-lines a {
  color: var(--ink);
  font-weight: 600;
}

.chip-muted {
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: normal;
  text-align: right;
  max-width: 12rem;
  line-height: 1.35;
}

.estimate-box {
  background: color-mix(in srgb, var(--canvas) 55%, var(--panel));
  border: 1px solid var(--line);
  padding: 0.75rem;
}

.hud-panel__actions {
  margin-top: auto;
}

.hud-panel__foot {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.85rem;
}

.hud-panel h3 {
  font-size: 1.05rem;
  margin: 0.15rem 0 0;
}

.track-row--stack {
  flex-direction: column;
  align-items: stretch;
}

.track-row--stack .btn {
  width: 100%;
}

.track-steps--compact {
  max-height: 14rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.track-steps--compact .track-step {
  grid-template-columns: 1fr;
  gap: 0.25rem;
}

.faq-stitch--stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-stitch--stack .faq-item {
  margin: 0;
}

.cta-band--stitch {
  background: var(--slate-panel);
  color: #f8fafc;
  border-top: 1px solid var(--border-grid);
}

html:not(.dark) .cta-band--stitch {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.cta-band--stitch h2 {
  color: #fff;
}

.cta-band--stitch p {
  color: #94a3b8;
}

.cta-band--stitch .btn-ghost {
  color: #fff;
  border-color: #475569;
}

.hero-copy .hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.b2b-callout {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--hazard);
  background: color-mix(in srgb, var(--hazard) 7%, var(--panel));
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 42rem;
}

.b2b-callout strong {
  color: var(--ink);
  font-weight: 600;
}

.b2b-callout em {
  font-style: normal;
  color: var(--ink);
  opacity: 0.85;
}

.b2b-callout--page {
  margin-bottom: 1.25rem;
  max-width: none;
}

.hero-visual {
  min-width: 0;
}

@media (max-width: 1040px) {
  .site-stitch .nav-toggle--stitch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-stitch .header-main {
    flex-wrap: nowrap;
  }

  .site-stitch .header-actions {
    display: flex;
    margin-left: 0;
    gap: 0.35rem;
    flex-shrink: 0;
  }
  .site-stitch .header-actions .btn-sm-hide,
  .site-stitch .header-actions > .btn-brand { display: none; }
  .site-stitch .nav-stitch {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px max(1rem, env(safe-area-inset-right)) 16px max(1rem, env(safe-area-inset-left));
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
  }
  .site-stitch .nav-check:checked + .nav-toggle + .nav-stitch { display: flex; }
  .site-stitch .nav-stitch .nav-phone,
  .site-stitch .nav-stitch .nav-cta { display: inline-flex; }
  .site-stitch .nav-stitch > a:not(.btn) {
    white-space: normal;
    line-height: 1.35;
  }
  .quick-access,
  .grid-4,
  .grid-3,
  .grid-2,
  .steps-row,
  .value-grid,
  .clients-stitch .clients-grid { grid-template-columns: 1fr 1fr; }
  .cov-grid-stitch { grid-template-columns: repeat(2, 1fr); }
  .topbar-sep--hide-sm { display: none; }
  .btn-sm-hide { display: none; }
}

@media (max-width: 900px) {
  .main-stitch { padding-top: 6.75rem; }

  .hero-stitch {
    overflow: visible;
    padding: 1.75rem 0 2rem;
  }

  .hero-stitch-grid,
  .dual-panel,
  .dual-panel--balanced,
  .split-panel,
  .site-stitch #contacto-corporativo .band {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-stitch-grid {
    align-items: stretch;
  }

  .hero-visual {
    order: -1;
  }

  .fleet-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 42%;
  }

  .fleet-banner {
    grid-template-columns: 1fr;
  }

  .fleet-banner img {
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 38%;
  }

  .stats-row.grid-3 {
    grid-template-columns: 1fr;
  }

  .hud-panel {
    padding: 1rem;
    min-width: 0;
  }

  .chip-muted {
    max-width: none;
    text-align: left;
  }

  .cta-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    text-align: center;
  }

  .cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .site-stitch .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-stitch .service-side {
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .site-stitch .wrap {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .main-stitch { padding-top: 6.4rem; }

  body.site-stitch .brand--compact img {
    height: 4.1rem;
    max-width: min(12.5rem, 60vw);
  }

  .site-stitch .header-main {
    min-height: 4.5rem;
    gap: 0.5rem;
  }

  .site-stitch .btn-theme-toggle {
    padding: 0.35rem 0.55rem;
    font-size: 0.72rem;
    color: var(--ink);
    border-color: var(--line);
    background: color-mix(in srgb, var(--panel) 90%, var(--ink) 3%);
  }

  html.dark .site-stitch .btn-theme-toggle {
    background: var(--slate-element);
    border-color: var(--border-grid);
  }

  .hero-stitch h1 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .hero-badge {
    font-size: 0.62rem;
    line-height: 1.35;
    flex-wrap: wrap;
  }

  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics li + li { border-left: 0; padding-left: 0; }
  .home-quote-grid { grid-template-columns: 1fr; }
  .quick-access,
  .grid-4,
  .grid-3,
  .grid-2,
  .steps-row,
  .fleet-banner,
  .cov-grid-stitch { grid-template-columns: 1fr; }
  .fleet-banner__copy {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .fleet-card img {
    aspect-ratio: 4 / 3;
    object-position: center center;
  }

  .fleet-banner img {
    aspect-ratio: 4 / 3;
  }

  .cityline-stitch {
    font-size: 0.62rem;
    text-align: left;
    white-space: normal;
    line-height: 1.45;
    overflow-x: visible;
  }

  .btn-row {
    flex-direction: column;
  }

  .btn-row .btn {
    width: 100%;
  }

  .card-stitch--action .btn {
    width: 100%;
  }

  .contact-card { position: static; }
  .section-stitch { padding: 2.25rem 0; }

  .site-footer--stitch .foot-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .track-steps--compact {
    max-height: none;
    overflow-y: visible;
  }
}

@media (max-width: 480px) {
  .topbar-kicker {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar-right a[href^="mailto:"] {
    display: none;
  }

  .site-stitch .nav-toggle__label {
    display: none;
  }

  .site-stitch .nav-toggle--stitch {
    padding: 0 0.5rem;
    min-width: 44px;
  }

  .site-stitch .btn-theme-toggle {
    padding: 0.35rem 0.55rem;
    max-width: 9.5rem;
  }
}

/* Páginas internas (cotizar, servicios, etc.) */
.site-stitch .page-hero {
  padding: 1.5rem 0 0.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.site-stitch .page-hero h1 em,
.site-stitch .page-hero .eyebrow {
  color: var(--hazard);
}

.site-stitch .page-hero .eyebrow::before {
  background: var(--hazard);
}

.site-stitch .section.page-stitch,
.site-stitch .section-stitch.page-stitch {
  padding: 2rem 0;
}

.site-stitch .form-card,
.site-stitch .summary-card,
.site-stitch .panel-light,
.site-stitch .service {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.site-stitch .service {
  padding: 1.25rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

.site-stitch .service-side {
  background: color-mix(in srgb, var(--canvas) 60%, var(--panel));
  border: 1px solid var(--line);
  padding: 1rem;
  min-width: 12rem;
}

.site-stitch .data-table th,
.site-stitch .data-table td {
  border-color: var(--line);
}

.site-stitch .summary-card {
  position: sticky;
  top: 8rem;
}

.site-stitch .estimate-total {
  color: var(--hazard);
  font-family: var(--display);
}

@media (max-width: 900px) {
  .site-stitch .service {
    grid-template-columns: 1fr;
  }
  .site-stitch .summary-card {
    position: static;
  }
}

.site-stitch .contact-layout,
.site-stitch .quote-layout {
  gap: 1.25rem;
}

.site-stitch .fact-row {
  margin-bottom: 1.5rem;
}

.site-stitch .fact {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1rem;
}

.site-stitch .fact strong {
  color: var(--hazard);
  font-family: var(--display);
}

.site-stitch .zone-title {
  color: var(--ink);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--hazard);
  display: inline-block;
  margin-top: 2rem;
}

.site-stitch .table-wrap {
  border: 1px solid var(--line);
  background: var(--panel);
}

.site-stitch .data-table thead th {
  background: color-mix(in srgb, var(--canvas) 70%, var(--panel));
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-stitch .data-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--canvas) 40%, var(--panel));
}

.site-stitch .side-list a {
  color: var(--ink);
  font-weight: 600;
}

.site-stitch .side-list a:hover {
  color: var(--hazard);
}

.site-stitch .track-page .note {
  padding: 0.75rem 1rem;
  border-left: 2px solid var(--signal);
  background: color-mix(in srgb, var(--signal) 8%, var(--panel));
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-stitch .ticket {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 1.25rem;
  margin-top: 1rem;
}

.site-stitch .ticket-code {
  color: var(--hazard);
}

.site-stitch .status {
  border-radius: var(--radius);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--line);
}

.site-stitch .status.is-ok {
  background: color-mix(in srgb, var(--radar) 12%, var(--panel));
  color: var(--radar);
  border-left: 2px solid var(--radar);
}

.site-stitch .status.is-run {
  background: color-mix(in srgb, var(--hazard) 12%, var(--panel));
  color: var(--hazard);
  border-left: 2px solid var(--hazard);
}

.site-stitch .status.is-wait {
  background: color-mix(in srgb, var(--muted) 12%, var(--panel));
  color: var(--muted);
}

.site-stitch .status.is-bad {
  background: color-mix(in srgb, #e11d48 12%, var(--panel));
  color: #e11d48;
  border-left: 2px solid #e11d48;
}

.site-stitch .ticket-meta div {
  background: color-mix(in srgb, var(--canvas) 50%, var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-stitch .ticket .timeline li {
  border-left: 2px solid var(--radar);
  padding-left: 0.65rem;
  margin-left: 0.35rem;
}

.site-stitch .ticket .timeline li.is-pending {
  border-left-color: var(--line);
  opacity: 0.8;
}

.site-stitch .ticket .timeline li:not(:last-child)::before {
  display: none;
}

.site-stitch .example {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-stitch .example:hover {
  border-color: var(--hazard);
}

.site-stitch .example strong {
  color: var(--hazard);
}

.site-stitch .empty {
  padding: 1.25rem;
  border: 1px dashed var(--line);
  background: color-mix(in srgb, var(--canvas) 60%, var(--panel));
  margin-top: 1rem;
}

.site-stitch .ticks li svg {
  color: var(--hazard);
}

/* Partner logístico B2B */
.quick-tile--accent {
  border-color: color-mix(in srgb, var(--hazard) 45%, var(--line));
  background: color-mix(in srgb, var(--hazard) 6%, var(--panel));
}

.quick-tile--accent .icon-ms {
  color: var(--hazard);
}

.partner-hub__lede,
.partner-panel__lede {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.partner-pill-grid {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.partner-pill {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--canvas) 50%, var(--panel));
  font-size: 0.78rem;
}

.partner-pill__icon {
  color: var(--hazard);
  margin-bottom: 0.15rem;
}

.partner-pill__icon .icon-ms {
  font-size: 1.35rem;
}

.partner-pill strong {
  font-family: var(--display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.partner-pill span:last-child {
  color: var(--muted);
  line-height: 1.35;
}

.partner-hub__actions,
.partner-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.partner-panel h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.1rem;
}

.partner-panel__list {
  margin: 0.75rem 0 1rem;
}

.partner-panel__actions .btn-block {
  width: 100%;
}

@media (max-width: 700px) {
  .partner-pill-grid {
    grid-template-columns: 1fr;
  }

  .partner-hub__actions {
    flex-direction: column;
  }

  .partner-hub__actions .btn {
    width: 100%;
  }
}
