@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap
}

:root {
  /* Primitivos — marca */
  --fa-green-500: #0BB04A;
  --fa-green-700: #008838;
  --fa-green-800: #007649;
  --fa-red-500: #EA1622;
  /* solo logo */
  --fa-red-600: #B53B3B;
  /* Primitivos — neutros */
  --fa-white: #FFFFFF;
  --fa-gray-200: #E3E3E3;
  --fa-gray-300: #B7B7B7;
  --fa-gray-500: #868788;
  --fa-gray-700: #545351;
  --fa-black-900: #1D1D1D;
  --fa-black: #000000;
  /* Primitivos — azul-negro */
  --fa-ink-950: #0A1017;
  --fa-ink-900: #0C151B;
  --fa-ink-700: #2B3236;
  --fa-ink-300: #82878E;
  --fa-ink-200: #C6C9C7;
  --fa-white-a80: rgba(255, 255, 255, .80);
  --fa-white-a25: rgba(255, 255, 255, .25);
  --fa-white-a20: rgba(255, 255, 255, .20);
  --fa-ink-a85: rgba(12, 21, 27, .85);

  /* Semánticos */
  --color-bg: var(--fa-white);
  --color-surface: var(--fa-white);
  --color-border: var(--fa-gray-200);
  --color-border-control: var(--fa-gray-300);
  --color-text-strong: var(--fa-black);
  --color-text: var(--fa-gray-700);
  --color-text-subtle: var(--fa-gray-500);
  --color-text-accent: var(--fa-green-500);
  --color-price-offer: var(--fa-green-700);
  --color-price-old: var(--fa-gray-500);
  --color-bg-inverse: var(--fa-ink-900);
  --color-bg-inverse-deep: var(--fa-ink-950);
  --color-surface-inverse-raised: var(--fa-ink-700);
  --color-text-on-dark: var(--fa-white);
  --color-text-on-dark-muted: var(--fa-ink-200);
  --color-text-on-dark-subtle: var(--fa-ink-300);
  --color-accent-on-dark: var(--fa-green-500);
  --color-border-on-dark: var(--fa-white-a20);
  --color-outline-on-dark: var(--fa-white-a80);
  --color-action: var(--fa-green-500);
  --color-action-hover: var(--fa-green-700);
  --color-on-action: var(--fa-white);
  --color-promo: var(--fa-red-600);
  --color-on-promo: var(--fa-white);
  --color-success: var(--fa-green-700);
  --color-danger: var(--fa-red-600);
  --color-focus: var(--fa-green-700);

  /* Tipografía */
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display: clamp(2rem, 1rem + 2.8vw, 3.25rem);
  /* 32 → 52 */
  --fs-h2: clamp(1.375rem, 1.1rem + .9vw, 1.625rem);
  /* 22 → 26 */
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-sm: .875rem;
  --fs-xs: .8125rem;
  --fs-2xs: .75rem;
  --lh-tight: 1;
  --lh-heading: 1.15;
  --lh-ui: 1.2;
  --lh-body: 1.5;
  --ls-display: -.02em;
  --ls-eyebrow: .04em;

  /* Espacio y layout */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --grid-gap: 16px;
  --section-py: clamp(48px, 6vw, 80px);
  --header-h: 80px;

  /* Forma */
  --radius-card: 4px;
  --radius-pill: 999px;
  --radius-field-multiline: 22px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-overlay: 0 24px 48px rgba(10, 16, 23, .35);
  --control-h: 44px;
  --control-h-sm: 40px;
  --icon-btn: 40px;

  /* Movimiento */
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Contexto oscuro: aplicar a secciones ink */
.is-dark {
  --color-focus: var(--fa-green-500);
  color: var(--color-text-on-dark);
  background: var(--color-bg-inverse)
}

/* Modo AA opcional: <html data-contrast="aa"> */
:root[data-contrast="aa"] {
  --color-action: var(--fa-green-700);
  --color-action-hover: var(--fa-green-800);
  --color-text-accent: var(--fa-green-700);
  --color-text-subtle: var(--fa-gray-700)
}

/* ============================================================================
   B.9 — CSS base obligatorio
   ============================================================================ */

*,
*::before,
*::after {
  box-sizing: border-box
}

/* Reset de márgenes de navegador: sin esto, cada <p>/<h*> trae ~1em de
   margen por defecto que se suma de forma impredecible a los --space-* del
   sistema (colisiones/espaciados dispares entre navegadores). El texto
   enriquecido real (Quill, .description) recupera su propio ritmo abajo. */
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
dd {
  margin: 0
}

html {
  overflow-x: hidden
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg)
}

img {
  max-width: 100%;
  display: block
}

.container {
  max-width: calc(var(--container) + 2*var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter)
}

.section {
  padding-block: var(--section-py)
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px
}

/* Tipografía */
.t-display {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--fa-white);
  margin: 0
}

.t-accent {
  color: var(--color-accent-on-dark)
}

.t-page {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--fa-white);
  margin: 0
}

/* Móvil: 26px — con 32px quedaba más grande que el título del hero. */
@media (max-width:767px) {
  .t-page {
    font-size: 1.625rem;
    line-height: 1.1
  }
}

.t-h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--color-text-strong);
  margin: 0
}

.is-dark .t-h2 {
  color: var(--color-text-on-dark)
}

.t-h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-strong);
  margin: 0
}

.eyebrow {
  font-size: var(--fs-2xs);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-accent);
  margin: 0 0 var(--space-2)
}

.is-dark .eyebrow {
  color: var(--color-accent-on-dark)
}

.meta {
  font-size: var(--fs-2xs);
  line-height: 1.3;
  color: var(--color-text-subtle)
}

/* Encabezado de sección */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap
}

.link-more {
  font-size: var(--fs-xs);
  color: var(--color-text);
  text-decoration: none;
  display: inline-flex;
  gap: 6px;
  align-items: center
}

.link-more:hover {
  text-decoration: underline
}

.link-more svg {
  width: 14px;
  height: 14px
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--control-h);
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font: 600 var(--fs-body)/1 var(--font-sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(10, 16, 23, 0);
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease)
}

.btn svg {
  width: 20px;
  height: 20px
}

.btn--primary {
  background: var(--color-action);
  color: var(--color-on-action)
}

.btn--primary:hover {
  background: var(--color-action-hover)
}

.btn--outline-dark {
  background: transparent;
  color: var(--fa-white);
  border-color: var(--color-outline-on-dark)
}

.btn--outline-dark:hover {
  background: var(--fa-white-a20)
}

.btn--outline-light {
  background: transparent;
  color: var(--color-text-strong);
  border-color: var(--color-border-control)
}

.btn--outline-light:hover {
  border-color: var(--color-text-strong)
}

.btn--header {
  height: var(--control-h-sm);
  padding: 0 20px;
  font-size: 15px;
  background: rgba(0, 0, 0, .55);
  color: var(--fa-white);
  border: 2px solid var(--fa-green-500)
}

.btn:not([disabled]):hover {
  box-shadow: 0 6px 16px rgba(10, 16, 23, .16);
  transform: translateY(-1px)
}

.btn:not([disabled]):active {
  transform: translateY(1px) scale(.97);
  box-shadow: 0 2px 6px rgba(10, 16, 23, .14)
}

.btn[disabled] {
  background: var(--fa-gray-200);
  color: var(--fa-gray-500);
  border-color: var(--fa-gray-200);
  cursor: not-allowed
}

.btn-block {
  width: 100%
}

.icon-btn {
  width: var(--icon-btn);
  height: var(--icon-btn);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--color-outline-on-dark);
  background: transparent;
  color: var(--fa-white);
  cursor: pointer;
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease)
}

.icon-btn:not([disabled]):hover {
  box-shadow: 0 4px 12px rgba(10, 16, 23, .18);
  transform: translateY(-1px)
}

.icon-btn:not([disabled]):active {
  transform: translateY(1px) scale(.94);
  box-shadow: 0 1px 4px rgba(10, 16, 23, .16)
}

.icon-btn--glass {
  border: 0;
  background: var(--fa-white-a25)
}

.icon-btn--light {
  border-color: var(--color-border-control);
  color: var(--color-text)
}

/* Selector de idioma (header público y topbar admin): botón + menú flotante
   sin JS obligatorio para el enlace en sí (funciona por navegación normal a
   /idioma/{codigo}), lang-switcher.js solo abre/cierra el menú. */
.lang-switcher {
  position: relative
}

.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--icon-btn);
  min-width: var(--icon-btn);
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-outline-on-dark);
  background: transparent;
  color: var(--fa-white);
  font: 600 var(--fs-xs) var(--font-sans);
  letter-spacing: .02em;
  cursor: pointer;
}

.lang-switcher__toggle:hover {
  box-shadow: 0 4px 12px rgba(10, 16, 23, .18)
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 140px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--fa-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
}

.lang-switcher__menu[hidden] {
  display: none
}

.lang-switcher__menu li {
  margin: 0
}

.lang-switcher__menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font: 500 var(--fs-sm) var(--font-sans);
  color: var(--color-text-strong);
  text-decoration: none
}

.lang-switcher__menu a:hover {
  background: var(--color-bg)
}

.lang-switcher__menu a.is-active {
  color: var(--color-text-accent);
  font-weight: 600
}

.arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--color-action);
  color: var(--fa-white);
  position: relative;
  flex-shrink: 0;
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease)
}

.arrow-btn::after {
  content: "";
  position: absolute;
  inset: -8px
}

/* área táctil 44 px */
.arrow-btn svg {
  width: 16px;
  height: 16px
}

a:hover .arrow-btn,
.arrow-btn:hover {
  box-shadow: 0 4px 10px rgba(10, 16, 23, .2);
  transform: translateY(-1px)
}

a:active .arrow-btn,
.arrow-btn:active {
  transform: translateY(1px) scale(.92)
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--fa-white)
}

.badge--new {
  background: var(--color-action)
}

.badge--offer {
  background: var(--color-promo)
}

.badge--sold {
  background: var(--fa-gray-700)
}

.badge--reserved {
  background: var(--fa-ink-900)
}

.badge--draft {
  background: var(--fa-white);
  color: var(--fa-gray-700);
  border: 1px solid var(--color-border-control)
}

/* Tarjeta de categoría */
.card-cat {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  overflow: hidden;
  color: var(--fa-white);
  text-decoration: none;
  background: var(--color-bg-inverse);
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease)
}

.card-cat:hover {
  box-shadow: 0 10px 24px rgba(10, 16, 23, .14);
  transform: translateY(-3px)
}

.card-cat:active {
  transform: translateY(0) scale(.99);
  box-shadow: 0 4px 10px rgba(10, 16, 23, .14)
}

.card-cat__media {
  position: absolute;
  inset: 0;
  overflow: hidden
}

.card-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease)
}

.card-cat:hover .card-cat__media img {
  transform: scale(1.03)
}

.card-cat:hover .icon-btn--glass {
  background: var(--color-action-hover)
}

.card-cat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 23, 0) 45%, rgba(10, 16, 23, .85) 100%)
}

.card-cat__body {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-2)
}

.card-cat__body>div {
  min-width: 0
}

.card-cat__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.card-cat__sub {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin: 4px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

/* Móvil (2 columnas de ~165px): con 20px de margen, título de 18px en una
   sola línea y flecha de 40px, los nombres quedaban cortados ("Eléctri…").
   Se reduce todo y el título puede ocupar dos líneas. */
@media (max-width:767px) {
  .card-cat__body {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 6px
  }

  .card-cat__title {
    font-size: 15px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere
  }

  .card-cat__sub {
    font-size: 12px;
    margin-top: 2px
  }

  .card-cat .icon-btn {
    width: 30px;
    height: 30px;
    flex-shrink: 0
  }

  .card-cat .icon-btn svg {
    width: 15px;
    height: 15px
  }
}

/* Tarjeta de vehículo */
.card-veh {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease)
}

.card-veh:hover {
  box-shadow: 0 10px 24px rgba(10, 16, 23, .14);
  transform: translateY(-3px)
}

.card-veh:active {
  transform: translateY(0) scale(.99);
  box-shadow: 0 4px 10px rgba(10, 16, 23, .14)
}

.card-veh__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--fa-gray-200)
}

.card-veh__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease)
}

.card-veh__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-subtle)
}

.card-veh:hover .card-veh__media img {
  transform: scale(1.03)
}

/* Skeleton de carga para imágenes del catálogo (shimmer izquierda->derecha).
   El contenedor de la imagen (ya con tamaño fijo vía aspect-ratio o ancho/alto
   explícitos) recibe .skel-shimmer; public/js/img-skeleton.js agrega
   .is-loaded cuando la imagen ya cargó (evento load/error, o img.complete si
   ya estaba en caché al conectar el listener). Sin JS, la imagen igual se ve
   (solo opacity:1 por defecto vía noscript más abajo). */
:where(.skel-shimmer) {
  position: relative
}

.skel-shimmer {
  background: var(--fa-gray-200)
}

.skel-shimmer img {
  opacity: 0;
  transition: opacity 300ms var(--ease)
}

.skel-shimmer.is-loaded img {
  opacity: 1
}

.skel-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: translateX(-100%);
  animation: skel-sweep 1.4s ease-in-out infinite;
}

.skel-shimmer.is-loaded::after {
  content: none
}

@keyframes skel-sweep {
  to {
    transform: translateX(100%)
  }
}

.no-js .skel-shimmer img {
  opacity: 1
}

.no-js .skel-shimmer::after {
  content: none
}

.card-veh .badge {
  position: absolute;
  top: 12px;
  left: 12px
}

.card-veh__body {
  padding: var(--space-4)
}

.card-veh__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2)
}

.card-veh__name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-strong);
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.card-veh__meta {
  margin-top: var(--space-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.price {
  margin-top: var(--space-6);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-strong)
}

.price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-accent)
}

.price--offer,
.price--offer small {
  color: var(--color-price-offer)
}

.price del {
  margin-left: 8px;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--color-price-old)
}

/* Segmentado */
.segmented {
  position: relative;
  display: inline-flex;
  height: 32px;
  padding: 2px;
  border: 1px solid var(--color-border-control);
  border-radius: var(--radius-pill)
}

.segmented__thumb {
  position: absolute;
  top: 2px;
  left: 0;
  bottom: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-action);
  transition: transform 250ms var(--ease), width 250ms var(--ease);
  pointer-events: none;
  z-index: 0;
}

.segmented [role=tab] {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 100%;
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 0 16px;
  font: 500 var(--fs-2xs) var(--font-sans);
  color: var(--fa-gray-700);
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease)
}

.segmented [role=tab]:hover {
  box-shadow: 0 2px 8px rgba(10, 16, 23, .1)
}

.segmented [role=tab]:active {
  transform: scale(.95)
}

.segmented [aria-selected=true] {
  color: var(--fa-black);
  font-weight: 600
}

/* Campos */
.field {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5)
}

.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-strong)
}

.is-dark .field label {
  color: var(--fa-white)
}

.input,
.select {
  height: var(--control-h);
  padding: 0 20px;
  border: 1px solid var(--color-border-control);
  border-radius: var(--radius-pill);
  font: 400 16px var(--font-sans);
  color: var(--color-text-strong);
  background: var(--fa-white);
  width: 100%
}

/* Chevron a 20px del borde derecho (manual §11, "Select"), en vez de la
   flecha nativa del navegador que queda pegada al borde. */
.select {
  padding-right: 46px;
  appearance: none;
  -webkit-appearance: none;
  -moz-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='%23545351' 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 20px center;
  background-size: 16px 16px;
}

/* El navegador dibuja el popup de opciones con chrome del SO: no acepta
   border-radius ni sombra propios (sin JS no hay forma de igualar la
   píldora del botón). Tipografía y color sí se heredan/aceptan en la
   mayoría de navegadores, así que al menos quedan a tono con el resto. */
.select option {
  font: 400 16px var(--font-sans);
  color: var(--color-text-strong);
  background: var(--fa-white);
}

.textarea {
  min-height: 120px;
  padding: 14px 20px;
  border: 1px solid var(--color-border-control);
  border-radius: var(--radius-field-multiline);
  font: 400 16px/1.5 var(--font-sans);
  width: 100%;
  color: var(--color-text-strong);
  background: var(--fa-white)
}

.input::placeholder,
.textarea::placeholder {
  color: var(--fa-gray-500)
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border: 2px solid var(--fa-green-700)
}

.field--error .input {
  border: 2px solid var(--color-danger)
}

.field__error {
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: var(--color-danger)
}

.field__help {
  font-size: var(--fs-2xs);
  color: var(--color-text)
}

.is-dark .input,
.is-dark .textarea {
  background: var(--fa-ink-700);
  border-color: transparent;
  color: var(--fa-white)
}

.is-dark .input::placeholder,
.is-dark .textarea::placeholder {
  color: var(--fa-ink-200)
}

/* Paginación (catálogo público y listados del panel) */
.pagination{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:var(--space-2); margin-top:var(--space-8); }
.pagination a,.pagination span{
  display:inline-grid; place-items:center; width:40px; height:40px; border-radius:50%;
  font:600 14px var(--font-sans); text-decoration:none; color:var(--color-text);
  transition:box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
@media (max-width:480px){
  .pagination a,.pagination span{ width:34px; height:34px; font-size:13px; }
}
.pagination a:hover{ border:1px solid var(--color-border-control); box-shadow:0 4px 10px rgba(10,16,23,.12); transform:translateY(-1px); }
.pagination a:active{ transform:translateY(1px) scale(.94); box-shadow:0 1px 3px rgba(10,16,23,.14); }
.pagination .is-current{ background:var(--color-action); color:var(--fa-white); }

/* Barra de confianza, CTA, footer */
.trust {
  background: var(--fa-ink-a85);
  backdrop-filter: blur(8px);
  color: var(--fa-white)
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.trust__item {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  font-weight: 500;
  line-height: 1.2
}

.trust__item+.trust__item {
  border-left: 1px solid var(--color-border-on-dark)
}

.trust__item svg {
  width: 36px;
  height: 36px;
  flex: none
}

.site-footer {
  position: relative;
  background-color: var(--color-bg-inverse-deep);
  background-size: cover;
  background-position: center;
  color: var(--fa-white);
  font-size: var(--fs-2xs);
  overflow: hidden
}

.site-footer__overlay {
  display: none
}

.site-footer__row,
.site-footer__contact,
.site-footer__bottom {
  position: relative;
  z-index: 1
}

.site-footer__row,
.site-footer__contact,
.site-footer__bottom small {
  text-shadow: 0 1px 4px rgba(10, 16, 23, .9)
}

.site-footer small {
  color: var(--color-text-on-dark-muted)
}

/* Modal y toast */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 23, .7)
}

.modal {
  background: var(--fa-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
  width: min(560px, calc(100% - 32px));
  padding: var(--space-8)
}

.toast {
  background: var(--fa-ink-900);
  color: var(--fa-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
  padding: 14px 16px;
  font-size: var(--fs-sm);
  font-weight: 500
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition-duration: 0ms !important;
    animation: none !important
  }
}