/* ENDURO NALÓN — Buscador de moto. Estilos aislados con prefijo bm-. */
:root { --bm-fondo: #101713; --bm-panel: #1a241e; --bm-panel-claro: #243129; --bm-claro: #f4f7f2; --bm-suave: #dce4dc; --bm-acento: #dfff45; --bm-borde: #536452; }
.bm-body { margin: 0; min-height: 100dvh; color: var(--bm-claro); background: var(--bm-fondo); font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', sans-serif; }
.bm-body *, .bm-body *::before, .bm-body *::after, .bm-taller-entry *, .bm-tablas-entry * { box-sizing: border-box; }
.bm-body a { color: inherit; }
.bm-body :focus-visible, .bm-taller-entry :focus-visible, .bm-tablas-entry :focus-visible { outline: 3px solid var(--bm-acento); outline-offset: 3px; }
.bm-saltar { position: absolute; left: 12px; top: -100px; z-index: 1000; background: var(--bm-acento); color: #111 !important; padding: 8px 12px; }
.bm-saltar:focus { top: 8px; }
.bm-cabecera { max-width: 1240px; min-height: 76px; margin: auto; padding: 12px 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-bottom: 1px solid #405044; }
.bm-marca { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 17px; font-weight: 850; letter-spacing: .02em; white-space: nowrap; }
.bm-marca strong { color: var(--bm-acento); }
.bm-marca-sello { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 8px; font-weight: 900; background: var(--bm-acento); color: #151c14; }
.bm-navegacion { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(12px,2vw,28px); }
.bm-navegacion a, .bm-pie a { text-decoration-color: #9ca99d; text-underline-offset: 5px; }
.bm-navegacion a:hover, .bm-pie a:hover { color: var(--bm-acento); }
#bm-principal { max-width: 1200px; margin: 0 auto; padding: 0 22px 70px; }
.bm-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(24px,4vw,60px); padding: clamp(32px,5vw,70px) 0; }
.bm-intro-contenido { min-width: 0; }
.bm-eyebrow { display: block; font-size: 12px; font-weight: 850; letter-spacing: .18em; color: var(--bm-acento); margin: 0 0 14px; }
.bm-intro h1 { font-size: clamp(2.25rem,5vw,4.5rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 22px; max-width: 13ch; }
.bm-intro h1 em { color: var(--bm-acento); font-style: normal; }
.bm-intro p { max-width: 58ch; font-size: clamp(1rem,1.7vw,1.14rem); color: var(--bm-suave); margin: 0; }
.bm-intro-imagen { height: clamp(200px,26vw,350px); border: 1px solid #6c4940; border-radius: 18px; background: #241714 url('../imagen/img.jpg') center / contain no-repeat; box-shadow: 0 22px 50px #0007; }
.bm-panel { background: rgba(26,36,30,.94); border: 1px solid #637364; padding: clamp(22px,4vw,38px); border-radius: 18px; }
.bm-panel-encabezado { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.bm-panel-encabezado h2 { font-size: clamp(1.65rem,2.8vw,2.25rem); line-height: 1.1; margin: 0 0 10px; }
.bm-panel-encabezado p:last-child { margin: 0; color: var(--bm-suave); max-width: 60ch; }
.bm-catalogo-cifra { white-space: nowrap; border-radius: 999px; padding: 7px 12px; background: #304232; color: var(--bm-acento); font-weight: 750; font-size: 13px; }
.bm-form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; gap: 18px; }
.bm-campo { min-width: 0; }
.bm-campo label { display: block; color: #fff; font-weight: 750; margin-bottom: 8px; }
.bm-campo select { display: block; width: 100%; min-height: 52px; padding: 12px 38px 12px 14px; color: #121b13; background-color: #f6f8f3; border: 2px solid transparent; border-radius: 8px; font: inherit; cursor: pointer; }
.bm-campo select:disabled { opacity: .64; cursor: not-allowed; }
.bm-campo select:focus-visible { outline-color: var(--bm-acento); }
.bm-acciones { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.bm-boton { min-height: 48px; padding: 12px 20px; border-radius: 8px; font: inherit; font-weight: 800; cursor: pointer; }
.bm-boton-primario { background: var(--bm-acento); color: #141b12; border: 1px solid var(--bm-acento); }
.bm-boton-primario:hover { background: #c6e63e; }
.bm-boton-secundario { color: #fff; background: #304036; border: 1px solid #819084; }
.bm-boton-secundario:hover { background: #405247; }
.bm-mensaje { color: var(--bm-suave); font-size: 14px; margin: 16px 0 0; min-height: 22px; }
.bm-resultados { margin-top: 24px; border: 1px solid #567658; border-radius: 18px; padding: clamp(20px,3vw,32px); background: #18251b; scroll-margin-top: 16px; }
.bm-resultados[hidden] { display: none !important; }
.bm-resultados h2 { font-size: clamp(1.35rem,3vw,2.1rem); line-height: 1.2; margin: 0 0 10px; color: var(--bm-acento); }
.bm-resultado-info { margin: 0 0 20px; color: #eef5ec; max-width: 75ch; }
.bm-resultados-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 14px; }
.bm-resultado-enlace { display: flex; flex-direction: column; position: relative; gap: 7px; min-height: 156px; border: 1px solid #6d7f6b; border-radius: 12px; padding: 18px 38px 18px 18px; background: #26352a; text-decoration: none; }
.bm-resultado-enlace:hover { border-color: var(--bm-acento); background: #304432; }
.bm-resultado-tipo { text-transform: uppercase; color: var(--bm-acento); font-size: 12px; letter-spacing: .08em; font-weight: 850; }
.bm-resultado-enlace strong { color: #fff; font-size: 16px; line-height: 1.35; }
.bm-resultado-enlace small { color: #deebdf; font-size: 12px; margin-top: auto; }
.bm-resultado-flecha { position: absolute; top: 16px; right: 18px; font-size: 24px; color: var(--bm-acento); }
.bm-nota { margin-top: 26px; padding: 22px 26px; background: #263226; border-left: 4px solid var(--bm-acento); border-radius: 8px; }
.bm-nota h2 { margin: 0 0 10px; font-size: 19px; }
.bm-nota p { margin: 10px 0 0; color: #e3eee5; }
.bm-nota a { text-underline-offset: 3px; color: var(--bm-acento); }
.bm-pie { border-top: 1px solid #495a4a; padding: 28px 20px; color: #dde8dc; text-align: center; }
.bm-pie p { margin: 4px 0; }
/* Llamadas de acceso añadidas automáticamente a las páginas ya existentes */
.bm-taller-entry, .bm-tablas-entry { box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin: 18px 0 24px; padding: 20px 24px; border: 1px solid rgba(223,255,69,.55); border-radius: 12px; background: rgba(14,27,17,.90); color: white; font: 15px/1.5 system-ui, sans-serif; }
.bm-taller-entry strong, .bm-tablas-entry strong { display: block; font-size: 19px; color: #fff; }
.bm-taller-entry span, .bm-tablas-entry span { display: block; color: #e5eee4; }
.bm-taller-entry a, .bm-tablas-entry a { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 12px 18px; border-radius: 7px; background: #dfff45; color: #131c11 !important; font-weight: 850; text-decoration: none !important; white-space: nowrap; }
.bm-taller-entry a:hover, .bm-tablas-entry a:hover { background: #cbe946; }
.bm-tablas-entry { max-width: 980px; margin: 12px auto 28px; }
@media (max-width: 760px) {
  .bm-cabecera { flex-wrap: wrap; justify-content: center; padding: 14px 14px; }
  .bm-marca { font-size: 15px; }
  .bm-navegacion { width: 100%; justify-content: center; gap: 26px; font-size: 14px; }
  #bm-principal { padding: 0 14px 40px; }
  .bm-intro { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 20px; padding: 24px 0 26px; }
  .bm-intro-imagen { width: 100%; height: auto; aspect-ratio: 16/9; max-height: 260px; background-size: contain; }
  .bm-intro h1 { font-size: clamp(2rem,9vw,3.2rem); max-width: 17ch; margin-bottom: 12px; }
  .bm-intro p { font-size: 15px; }
  .bm-panel { padding: 20px 16px; }
  .bm-panel-encabezado { flex-direction: column; gap: 8px; margin-bottom: 18px; }
  .bm-form { grid-template-columns: 1fr; gap: 12px; }
  .bm-acciones { gap: 10px; }
  .bm-boton-primario, .bm-boton-secundario { flex: 1 1 180px; }
  .bm-resultados { padding: 18px 14px; }
  .bm-nota { padding: 18px; }
  .bm-taller-entry, .bm-tablas-entry { margin: 16px 0; padding: 18px 16px; }
  .bm-taller-entry a, .bm-tablas-entry a { width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .bm-body { scroll-behavior: auto; } }
