/* ============================================================
   Megawash — Component Styles
   Sistema de gestión de lavado de autos
   ============================================================
   All component classes. Relies on tokens defined in tokens.css
   (loaded via base.css).
   ============================================================ */


/* ============================================================
   1. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--espacio-xs);
  padding: var(--espacio-xs) var(--espacio-md);
  border-radius: var(--radio-md);
  font-family: var(--fuente-texto);
  font-weight: var(--fuente-peso-semi);
  font-size: var(--texto-sm);
  cursor: pointer;
  border: none;
  transition: all var(--dur-rapida) var(--ease);
  min-height: 44px;
  line-height: 1;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

/* Primary — accent "agua" */
.btn--primario {
  background: var(--color-acento);
  color: var(--color-sobre-acento);
}

.btn--primario:hover {
  background: var(--color-acento-hover);
}

/* Secondary — outlined */
.btn--secundario {
  background: transparent;
  border: 1px solid var(--color-linea);
  color: var(--color-tinta);
}

.btn--secundario:hover {
  border-color: var(--color-acento);
  color: var(--color-acento);
}

/* Ghost — minimal */
.btn--fantasma {
  background: transparent;
  color: var(--color-texto-sec);
}

.btn--fantasma:hover {
  background: var(--color-acento-sutil);
  color: var(--color-tinta);
}

/* Danger */
.btn--peligro {
  background: var(--color-peligro);
  color: white;
}

.btn--peligro:hover {
  background: var(--color-peligro-hover);
}

/* Sizes */
.btn--sm {
  min-height: 36px;
  padding: var(--espacio-2xs) var(--espacio-sm);
  font-size: var(--texto-xs);
}

.btn--lg {
  min-height: 56px;
  padding: var(--espacio-sm) var(--espacio-xl);
  font-size: var(--texto-lg);
}

/* Disabled state */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}


/* ============================================================
   2. Form Inputs
   ============================================================ */
.campo {
  display: flex;
  flex-direction: column;
  gap: var(--espacio-2xs);
}

.campo__label {
  font-size: var(--texto-sm);
  font-weight: var(--fuente-peso-medio);
  color: var(--color-texto-sec);
}

.campo__input {
  height: 44px;
  padding: 0 var(--espacio-sm);
  border: 1px solid var(--color-linea);
  border-radius: var(--radio-md);
  font-family: var(--fuente-texto);
  font-size: var(--texto-base);
  background: var(--color-superficie);
  color: var(--color-tinta);
  transition: border-color var(--dur-rapida) var(--ease);
}

.campo__input::placeholder {
  color: var(--color-texto-sec);
  opacity: 0.6;
}

.campo__input:focus {
  border-color: var(--color-acento);
  outline: none;
  box-shadow: 0 0 0 2px var(--color-acento-sutil);
}

/* Error state */
.campo__input--error {
  border-color: var(--color-peligro);
}

.campo__input--error:focus {
  box-shadow: 0 0 0 2px oklch(92% 0.06 25);
}

/* Select dropdown */
select.campo__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

/* Textarea */
textarea.campo__input {
  height: auto;
  min-height: 80px;
  padding: var(--espacio-sm);
  resize: vertical;
}

/* Helper / error text below input */
.campo__ayuda {
  font-size: var(--texto-xs);
  color: var(--color-texto-sec);
}

.campo__error {
  font-size: var(--texto-xs);
  color: var(--color-peligro);
}


/* ============================================================
   3. Tables
   ============================================================ */
.tabla-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-linea);
  border-radius: var(--radio-lg);
}

.tabla {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.tabla th {
  background: var(--color-fondo);
  font-size: var(--texto-xs);
  font-weight: var(--fuente-peso-semi);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-texto-sec);
  padding: var(--espacio-sm) var(--espacio-md);
  text-align: left;
  border-bottom: 1px solid var(--color-linea);
  position: sticky;
  top: 0;
}

.tabla td {
  padding: var(--espacio-sm) var(--espacio-md);
  border-bottom: 1px solid var(--color-linea);
  font-size: var(--texto-sm);
  vertical-align: middle;
}

.tabla tr:last-child td {
  border-bottom: none;
}

.tabla tr:hover td {
  background: var(--color-acento-sutil);
}


/* ============================================================
   4. Status Chips
   Always used with icon + text label; never rely on color alone.
   Contrast ratio ≥ 4.5:1 verified for both themes.
   ============================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--espacio-2xs);
  padding: var(--espacio-2xs) var(--espacio-sm);
  border-radius: var(--radio-full);
  font-size: var(--texto-xs);
  font-weight: var(--fuente-peso-semi);
  white-space: nowrap;
}

.chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.chip--en_cola {
  background: var(--color-en_cola-bg);
  color: var(--color-en_cola-texto);
}

.chip--lavando {
  background: var(--color-lavando-bg);
  color: var(--color-lavando-texto);
}

.chip--secado {
  background: var(--color-secado-bg);
  color: var(--color-secado-texto);
}

.chip--listo {
  background: var(--color-listo-bg);
  color: var(--color-listo-texto);
}

.chip--entregado {
  background: var(--color-entregado-bg);
  color: var(--color-entregado-texto);
}

.chip--cancelado {
  background: var(--color-cancelado-bg);
  color: var(--color-cancelado-texto);
}


/* ============================================================
   5. License Plate — Placa (signature visual element)
   ============================================================ */
.placa {
  display: inline-flex;
  flex-direction: column;
  flex: none;
  background: white;
  border: 2px solid var(--color-tinta);
  border-radius: var(--radio-sm);
  overflow: hidden;
  line-height: 1;
}

.placa__barra {
  background: oklch(45% 0.15 255);
  color: white;
  font-size: 7px;
  font-weight: var(--fuente-peso-bold);
  text-align: center;
  padding: 1px 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.placa__texto {
  font-family: var(--fuente-titulo);
  font-weight: var(--fuente-peso-bold);
  letter-spacing: 0.06em;
  padding: 2px 6px;
  text-align: center;
  white-space: nowrap;
  color: oklch(20% 0.01 250);
}

/* Sizes */
.placa--sm {
  min-width: 68px;
}

.placa--sm .placa__texto {
  font-size: var(--texto-sm);
}

.placa--sm .placa__barra {
  font-size: 6px;
}

.placa--md {
  min-width: 88px;
}

.placa--md .placa__texto {
  font-size: var(--texto-lg);
}

.placa--lg {
  min-width: 120px;
}

.placa--lg .placa__texto {
  font-size: var(--texto-2xl);
}

.placa--lg .placa__barra {
  font-size: 9px;
}


/* ============================================================
   6. Toasts (aria-live)
   ============================================================ */
.toast-container {
  position: fixed;
  top: var(--espacio-lg);
  right: var(--espacio-lg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: var(--espacio-sm);
  max-width: 380px;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--espacio-sm);
  padding: var(--espacio-sm) var(--espacio-md);
  border-radius: var(--radio-md);
  background: var(--color-superficie);
  border: 1px solid var(--color-linea);
  box-shadow: var(--sombra-md);
  font-size: var(--texto-sm);
  animation: toast-in var(--dur-normal) var(--ease);
}

.toast--exito {
  border-left: 3px solid var(--color-exito);
}

.toast--error {
  border-left: 3px solid var(--color-peligro);
}

.toast--info {
  border-left: 3px solid var(--color-acento);
}

@keyframes toast-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


/* ============================================================
   7. Modal
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: oklch(0% 0 0 / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--espacio-md);
  animation: fade-in var(--dur-rapida) var(--ease);
}

.modal {
  background: var(--color-superficie);
  border-radius: var(--radio-lg);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-in var(--dur-normal) var(--ease);
}

.modal__cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--espacio-md) var(--espacio-lg);
  border-bottom: 1px solid var(--color-linea);
}

.modal__titulo {
  font-family: var(--fuente-titulo);
  font-weight: var(--fuente-peso-bold);
  font-size: var(--texto-xl);
}

.modal__cerrar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-texto-sec);
  cursor: pointer;
  padding: var(--espacio-2xs);
  border-radius: var(--radio-sm);
  transition: background var(--dur-rapida) var(--ease),
              color var(--dur-rapida) var(--ease);
}

.modal__cerrar:hover {
  background: var(--color-acento-sutil);
  color: var(--color-tinta);
}

.modal__cuerpo {
  padding: var(--espacio-lg);
}

.modal__acciones {
  display: flex;
  justify-content: flex-end;
  gap: var(--espacio-sm);
  padding: var(--espacio-md) var(--espacio-lg);
  border-top: 1px solid var(--color-linea);
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modal-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* ============================================================
   8. Tabs
   ============================================================ */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--color-linea);
  gap: var(--espacio-2xs);
  overflow-x: auto;
}

.tab {
  padding: var(--espacio-sm) var(--espacio-md);
  font-size: var(--texto-sm);
  font-weight: var(--fuente-peso-medio);
  color: var(--color-texto-sec);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  transition: color var(--dur-rapida) var(--ease),
              border-color var(--dur-rapida) var(--ease);
}

.tab:hover {
  color: var(--color-tinta);
}

.tab--activo {
  color: var(--color-acento);
  border-bottom-color: var(--color-acento);
  font-weight: var(--fuente-peso-semi);
}


/* ============================================================
   9. KPI Cards
   ============================================================ */
.kpi {
  display: flex;
  flex-direction: column;
  gap: var(--espacio-2xs);
  padding: var(--espacio-md) var(--espacio-lg);
  background: var(--color-superficie);
  border: 1px solid var(--color-linea);
  border-radius: var(--radio-lg);
}

.kpi__label {
  font-size: var(--texto-xs);
  font-weight: var(--fuente-peso-medio);
  color: var(--color-texto-sec);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi__valor {
  font-family: var(--fuente-titulo);
  font-weight: var(--fuente-peso-bold);
  font-size: var(--texto-3xl);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.kpi__detalle {
  font-size: var(--texto-xs);
  color: var(--color-texto-sec);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--espacio-md);
}


/* ============================================================
   10. Empty / Loading / Error States
   ============================================================ */

/* --- Empty state ----------------------------------------- */
.estado-vacio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--espacio-3xl) var(--espacio-lg);
  gap: var(--espacio-md);
  color: var(--color-texto-sec);
}

.estado-vacio__icono svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.estado-vacio__imagen {
  display: flex;
  justify-content: center;
  align-items: center;
}

.estado-vacio__imagen img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
}

.estado-vacio__titulo {
  font-family: var(--fuente-titulo);
  font-weight: var(--fuente-peso-bold);
  font-size: var(--texto-xl);
  color: var(--color-tinta);
}

.estado-vacio__texto {
  font-size: var(--texto-sm);
  max-width: 320px;
}

/* --- Skeleton loading ------------------------------------ */
.estado-carga {
  display: flex;
  flex-direction: column;
  gap: var(--espacio-md);
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-linea) 25%,
    var(--color-fondo) 50%,
    var(--color-linea) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radio-md);
  height: 1em;
}

.skeleton--linea {
  height: 14px;
  margin-bottom: var(--espacio-sm);
}

.skeleton--bloque {
  height: 48px;
}

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Error state ----------------------------------------- */
.estado-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--espacio-3xl) var(--espacio-lg);
  gap: var(--espacio-md);
  color: var(--color-peligro);
}

.estado-error__titulo {
  font-family: var(--fuente-titulo);
  font-weight: var(--fuente-peso-bold);
  font-size: var(--texto-xl);
  color: var(--color-peligro);
}

.estado-error__texto {
  font-size: var(--texto-sm);
  max-width: 320px;
  color: var(--color-texto-sec);
}

.estado-error__reintentar {
  margin-top: var(--espacio-sm);
}


/* ============================================================
   11. Track / Board Separators (road marking feel)
   ============================================================ */
.marca-vial {
  border: none;
  border-top: 2px dashed var(--color-linea);
  margin: var(--espacio-md) 0;
}

.tablero__columna-header {
  border-top: 2px dashed var(--color-linea);
  padding-top: var(--espacio-sm);
}


/* ============================================================
   12. Login (Two-column layout desktop, stacked on mobile)
   ============================================================ */
.login-contenedor {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--color-fondo);
}

/* Panel ilustrado izquierdo (Desktop) */
.login-hero {
  background: var(--color-acento-sutil);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--espacio-2xl) var(--espacio-2xl) 0;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--color-linea);
}

.login-hero__cabecera {
  display: flex;
  flex-direction: column;
  gap: var(--espacio-xs);
  background: var(--color-superficie);
  padding: var(--espacio-md) var(--espacio-lg);
  border-radius: var(--radio-lg);
  border: 1px solid var(--color-linea);
  box-shadow: var(--sombra-sm);
  z-index: 2;
}

.login-hero__marca {
  display: flex;
  align-items: center;
}

.login-hero__wordmark {
  font-family: var(--fuente-titulo);
  font-weight: var(--fuente-peso-bold);
  font-size: var(--texto-3xl);
  letter-spacing: 0.03em;
  color: var(--color-tinta);
  line-height: 1;
}

.login-hero__lema {
  font-size: var(--texto-base);
  font-weight: var(--fuente-peso-medio);
  color: var(--color-texto-sec);
  max-width: 380px;
  line-height: 1.3;
}

.login-hero__foto-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--espacio-lg) 0;
  min-height: 0;
}

.login-hero__foto {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1600 / 1067;
  object-fit: cover;
  border-radius: var(--radio-lg);
  border: 1px solid var(--color-linea);
  box-shadow: var(--sombra-md);
  display: block;
}

.login-hero__ilustracion-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--espacio-lg) 0;
}

.login-hero__ilustracion {
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.login-hero__espuma {
  width: calc(100% + 2 * var(--espacio-2xl));
  margin-left: calc(-1 * var(--espacio-2xl));
  margin-right: calc(-1 * var(--espacio-2xl));
  height: 36px;
  background-image: url('../img/ilustraciones/espuma.svg');
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: auto 36px;
  flex-shrink: 0;
  transition: opacity var(--dur-normal) var(--ease);
}

/* Franja de espuma atenuada en tema oscuro para evitar deslumbramiento (Item 11) */
[data-tema="oscuro"] .login-hero__espuma,
[data-tema="oscuro"] .estado-espuma-borde {
  opacity: 0.35;
  filter: brightness(0.85);
}

@media (prefers-color-scheme: dark) {
  html:not([data-tema]) .login-hero__espuma,
  html:not([data-tema]) .estado-espuma-borde {
    opacity: 0.35;
    filter: brightness(0.85);
  }
}

/* Panel de formulario derecho */
.login-formulario-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--espacio-2xl);
}

.login-card-wrap {
  width: 100%;
  max-width: 380px;
}

.login__card {
  background: var(--color-superficie);
  border: 1px solid var(--color-linea);
  border-radius: var(--radio-lg);
  padding: var(--espacio-xl);
  box-shadow: var(--sombra-md);
}

.login__separador {
  text-align: center;
  color: var(--color-texto-sec);
  font-size: var(--texto-xs);
  margin: var(--espacio-md) 0;
  position: relative;
}

.login__separador::before,
.login__separador::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 2.5em);
  height: 1px;
  background: var(--color-linea);
}

.login__separador::before {
  left: 0;
}

.login__separador::after {
  right: 0;
}

.login__roles {
  display: grid;
  gap: var(--espacio-sm);
}

.login__rol {
  display: flex;
  align-items: center;
  gap: var(--espacio-sm);
  padding: var(--espacio-sm) var(--espacio-md);
  border: 1px solid var(--color-linea);
  border-radius: var(--radio-md);
  background: var(--color-superficie);
  cursor: pointer;
  width: 100%;
  text-align: left;
  min-height: 52px;
  transition: all var(--dur-rapida) var(--ease);
}

.login__rol:hover {
  border-color: var(--color-acento);
  background: var(--color-acento-sutil);
}

.login__rol-icono {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-acento);
}

.login__rol-info {
  flex: 1;
}

.login__rol-nombre {
  font-weight: var(--fuente-peso-semi);
  font-size: var(--texto-sm);
  color: var(--color-tinta);
}

.login__rol-desc {
  font-size: var(--texto-xs);
  color: var(--color-texto-sec);
}

.login__creditos {
  text-align: center;
  margin-top: var(--espacio-sm);
}

.login__creditos-link {
  font-size: var(--texto-xs);
  color: var(--color-texto-sec);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur-rapida) var(--ease);
}

.login__creditos-link:hover {
  color: var(--color-acento);
}

/* Responsividad para móviles (< 768px y 360x640) */
@media (max-width: 767px) {
  .login-contenedor {
    grid-template-columns: 1fr;
    min-height: 100vh;
  }

  .login-hero {
    display: flex;
    flex-direction: column;
    padding: var(--espacio-xs) var(--espacio-sm) 0;
    border-right: none;
    border-bottom: 1px solid var(--color-linea);
    gap: var(--espacio-xs);
    max-height: none;
  }

  .login-hero__foto-wrap {
    order: 1; /* En móvil la foto pasa arriba */
    padding: 0;
    max-height: 140px;
  }

  .login-hero__foto {
    max-height: 140px; /* Alto máximo 180px */
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radio-md);
  }

  .login-hero__cabecera {
    order: 2;
    padding: var(--espacio-xs) var(--espacio-sm);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--espacio-xs);
    border-radius: var(--radio-md);
  }

  .login-hero__wordmark {
    font-size: var(--texto-xl);
  }

  .login-hero__lema {
    font-size: var(--texto-xs);
    max-width: 100%;
    line-height: 1.2;
    margin: 0;
  }

  .login-hero__ilustracion-wrap {
    padding: var(--espacio-2xs) 0;
    max-height: 85px;
  }

  .login-hero__ilustracion {
    max-height: 75px;
  }

  .login-hero__espuma {
    order: 3;
    height: 16px;
    background-size: auto 16px;
    width: calc(100% + 2 * var(--espacio-sm));
    margin-left: calc(-1 * var(--espacio-sm));
    margin-right: calc(-1 * var(--espacio-sm));
  }

  .login-formulario-wrap {
    padding: var(--espacio-xs) var(--espacio-sm) var(--espacio-md);
    align-items: flex-start;
  }

  .login-card-wrap {
    max-width: 100%;
  }

  .login__card {
    padding: var(--espacio-sm) var(--espacio-md);
  }

  .login__card > div:first-child {
    margin-bottom: var(--espacio-sm) !important;
  }

  .login__roles {
    gap: var(--espacio-xs);
  }

  .login__rol {
    min-height: 44px;
    padding: var(--espacio-2xs) var(--espacio-sm);
  }
}


/* ============================================================
   13. Utility Classes
   ============================================================ */

/* --- Flexbox --------------------------------------------- */
.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.flex-wrap     { flex-wrap: wrap; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.items-end     { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.flex-1        { flex: 1; }

/* --- Gap ------------------------------------------------- */
.gap-2xs { gap: var(--espacio-2xs); }
.gap-xs  { gap: var(--espacio-xs); }
.gap-sm  { gap: var(--espacio-sm); }
.gap-md  { gap: var(--espacio-md); }
.gap-lg  { gap: var(--espacio-lg); }
.gap-xl  { gap: var(--espacio-xl); }

/* --- Typography utilities -------------------------------- */
.text-sec     { color: var(--color-texto-sec); }
.text-sm      { font-size: var(--texto-sm); }
.text-xs      { font-size: var(--texto-xs); }
.text-lg      { font-size: var(--texto-lg); }
.text-center  { text-align: center; }
.font-titulo  { font-family: var(--fuente-titulo); }
.font-bold    { font-weight: var(--fuente-peso-bold); }
.font-semi    { font-weight: var(--fuente-peso-semi); }
.font-medio   { font-weight: var(--fuente-peso-medio); }
.uppercase    { text-transform: uppercase; }
.tracking     { letter-spacing: 0.04em; }
.tabular-nums { font-variant-numeric: tabular-nums; }

/* --- Spacing utilities ----------------------------------- */
.mt-sm  { margin-top: var(--espacio-sm); }
.mt-md  { margin-top: var(--espacio-md); }
.mt-lg  { margin-top: var(--espacio-lg); }
.mb-sm  { margin-bottom: var(--espacio-sm); }
.mb-md  { margin-bottom: var(--espacio-md); }
.mb-lg  { margin-bottom: var(--espacio-lg); }

/* --- Accessibility --------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Visibility ------------------------------------------ */
.hidden { display: none; }
