
:root{
  --bgm-black:#0D0D0D;
  --bgm-red:#CC1A1A;
  --bgm-dark:#2B2B2B;
  --bgm-muted:#6B6B6B;
  --bgm-light:#F2F2F2;
  --bgm-white:#FFFFFF;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{background:var(--bgm-white);color:var(--bgm-black);font-family:'Inter',system-ui,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
body{overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

/* ── Screen switcher (solo prototipo) ── */
.screen-switcher{position:fixed;top:14px;right:14px;z-index:200;background:rgba(13,13,13,.92);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:4px;padding:6px;display:flex;gap:4px;font-family:'Orbitron';font-size:10px;letter-spacing:.14em;text-transform:uppercase}
.screen-switcher button{background:none;border:none;color:rgba(255,255,255,.6);padding:8px 12px;cursor:pointer;border-radius:2px;transition:all .15s;font:inherit;letter-spacing:inherit;text-transform:inherit}
.screen-switcher button:hover{color:#fff}
.screen-switcher button.active{background:var(--bgm-red);color:#fff}
.screen{display:none}
.screen.active{display:block}

/* ── NAV (consistente con sitio) ── */
.nav{position:sticky;top:0;left:0;right:0;z-index:50;background:rgba(13,13,13,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.06)}
.nav-inner{max-width:1280px;margin:0 auto;padding:14px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.nav-logo{display:flex;align-items:center}
.nav-logo img{height:26px;width:auto}
.nav-links{display:flex;align-items:center;gap:28px}
.nav-links a{font-size:13px;color:rgba(255,255,255,.78);font-weight:500;transition:color .2s}
.nav-links a:hover{color:#fff}
.nav-links a.current{color:#fff}
.nav-cta{background:var(--bgm-red);color:#fff;font-family:'Orbitron';font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;padding:10px 16px;border-radius:2px;transition:background .2s}
.nav-cta:hover{background:#E62121}
.nav-catalogo{display:inline-flex;align-items:center;gap:8px;background:transparent;color:#fff;font-family:'Orbitron';font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;padding:9px 15px;border:1px solid rgba(255,255,255,.75);border-radius:2px;transition:background .2s,color .2s,transform .2s}
.nav-catalogo:hover{background:#fff;color:#0D0D0D;transform:translateY(-1px)}
@media(min-width:861px) and (max-width:1200px){.nav-links{gap:14px}.nav-links a{font-size:12px}.nav-inner{gap:14px;padding:14px 18px}.nav-cta,.nav-catalogo{padding:8px 11px;letter-spacing:.08em}}
.nav-links a,.nav-cta,.nav-catalogo{white-space:nowrap}
@media(max-width:860px){.nav-links{display:none}}

/* ── HEADER de sección ── */
.section-header{background:var(--bgm-black);color:#fff;padding:80px 28px 64px;border-bottom:3px solid var(--bgm-red)}
.section-header-inner{max-width:1200px;margin:0 auto}
.section-header .eyebrow{font-family:'Orbitron';font-weight:700;color:var(--bgm-red);font-size:11px;letter-spacing:.22em;text-transform:uppercase;margin-bottom:14px}
.section-header h1{font-family:'Orbitron';font-weight:900;font-size:clamp(34px,5vw,52px);line-height:1.05;letter-spacing:-.005em;color:#fff;margin-bottom:18px;text-wrap:balance}
.section-header .lead{font-size:17px;color:rgba(255,255,255,.7);line-height:1.55;max-width:640px;text-wrap:pretty}

/* ── Filtros ── */
.filters-bar{background:#fff;border-bottom:1px solid #EBEBEB;padding:18px 28px;position:sticky;top:0;z-index:10}
.filters-inner{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;gap:32px;align-items:center}
.filter-group{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.filter-label{font-family:'Orbitron';font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:var(--bgm-muted)}
.filter-chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{font-family:'Inter';font-size:12px;font-weight:600;letter-spacing:.04em;padding:8px 14px;border:1px solid #D6D6D6;background:#fff;border-radius:2px;cursor:pointer;color:var(--bgm-dark);transition:all .15s}
.chip:hover{border-color:var(--bgm-black)}
.chip.active{background:var(--bgm-black);color:#fff;border-color:var(--bgm-black)}
.filter-select{font-family:'Inter';font-size:13px;border:1px solid #D6D6D6;padding:9px 28px 9px 12px;border-radius:2px;background:#fff;color:var(--bgm-black);cursor:pointer;appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%232B2B2B' d='M0 0l5 6 5-6z'/></svg>");background-repeat:no-repeat;background-position:right 10px center}
.filter-select:focus{outline:none;border-color:var(--bgm-red)}
.filter-count{margin-left:auto;font-size:12px;color:var(--bgm-muted);letter-spacing:.04em}
@media(max-width:760px){.filter-count{margin-left:0;width:100%}.filters-inner{gap:20px}}

/* ── Grid de cards ── */
.listing{padding:56px 28px 80px;background:#F8F8F8;min-height:60vh}
.listing-inner{max-width:1200px;margin:0 auto}
.cards-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
@media(max-width:860px){.cards-grid{grid-template-columns:1fr;gap:22px}}

.article-card{background:#fff;border:1px solid #EBEBEB;border-radius:4px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .25s,transform .25s,border-color .25s;cursor:pointer}
.article-card:hover{box-shadow:0 16px 40px -22px rgba(0,0,0,.22);transform:translateY(-2px);border-color:#D6D6D6}
.article-thumb{aspect-ratio:16/9;background:linear-gradient(135deg,#0D0D0D 0%, #1A1A1A 100%);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.article-thumb::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(45deg,transparent 0 20px,rgba(255,255,255,.018) 20px 21px)}
.article-thumb img.bgm-watermark{height:30px;width:auto;opacity:.4;position:relative;z-index:1}
.article-thumb.has-photo{background:#000}
.article-thumb img.cover{width:100%;height:100%;object-fit:cover;object-position:center}
.article-thumb .overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.1) 0%, rgba(0,0,0,.45) 100%);z-index:1}
.article-body{padding:26px 28px 28px;display:flex;flex-direction:column;gap:14px;flex:1}
.article-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.cat-tag{font-family:'Orbitron';font-size:10px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--bgm-red)}
.article-date{font-family:'Inter';font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--bgm-muted);font-weight:500}
.article-title{font-family:'Orbitron';font-weight:700;font-size:21px;line-height:1.25;color:var(--bgm-black);text-wrap:balance}
.article-excerpt{font-size:15px;color:var(--bgm-muted);line-height:1.6;text-wrap:pretty}
.article-link{margin-top:auto;font-family:'Inter';font-size:13px;color:var(--bgm-red);font-weight:600;letter-spacing:.04em;display:inline-flex;align-items:center;gap:8px;transition:gap .2s;align-self:flex-start;padding-top:6px}
.article-card:hover .article-link{gap:14px}

/* ── Pagination ── */
.pagination{margin-top:64px;display:flex;justify-content:center;align-items:center;gap:6px}
.page-btn{min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #D6D6D6;background:#fff;font-family:'Inter';font-size:13px;color:var(--bgm-black);cursor:pointer;border-radius:2px;transition:all .15s;padding:0 14px}
.page-btn:hover{border-color:var(--bgm-black)}
.page-btn.active{background:var(--bgm-black);color:#fff;border-color:var(--bgm-black);font-weight:600}
.page-btn[disabled]{opacity:.4;cursor:not-allowed}
.page-btn.arrow{font-size:16px}

/* ── FOOTER ── */
.footer{background:var(--bgm-black);color:rgba(255,255,255,.7);padding:0 28px;border-top:1px solid var(--bgm-red)}
.footer-inner{max-width:1200px;margin:0 auto;padding:42px 0;display:grid;grid-template-columns:1fr auto 1fr;gap:32px;align-items:center;font-size:13px}
.footer-inner .center{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;white-space:nowrap}
.footer-inner .right{text-align:right}
.footer-inner a:hover{color:#fff}
.footer-logo{display:flex;flex-direction:column;gap:8px}
.footer-logo img{height:24px;width:auto;max-width:140px;object-fit:contain;object-position:left center}
@media(max-width:860px){.footer-inner{grid-template-columns:1fr;text-align:left;gap:18px}.footer-inner .center,.footer-inner .right{justify-content:flex-start;text-align:left}}

/* ═══════════════════════════════════════════
   PANTALLA 2 — ARTÍCULO INDIVIDUAL
   ═══════════════════════════════════════════ */

.article-page{background:#fff}
.breadcrumb-bar{background:#F8F8F8;border-bottom:1px solid #EBEBEB;padding:16px 28px;font-size:12px;letter-spacing:.04em}
.breadcrumb-inner{max-width:1200px;margin:0 auto;color:var(--bgm-muted);display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.breadcrumb-inner a{color:var(--bgm-muted);transition:color .15s}
.breadcrumb-inner a:hover{color:var(--bgm-black)}
.breadcrumb-inner .sep{color:#C0C0C0}
.breadcrumb-inner .current{color:var(--bgm-black);font-weight:500}

.article-head{padding:56px 28px 36px;border-bottom:1px solid #EBEBEB}
.article-head-inner{max-width:1200px;margin:0 auto}
.article-head .cat-tag{font-size:11px;margin-bottom:18px;display:inline-block}
.article-head h1{font-family:'Orbitron';font-weight:900;font-size:clamp(30px,4.4vw,46px);line-height:1.08;letter-spacing:-.005em;color:var(--bgm-black);margin-bottom:22px;max-width:920px;text-wrap:balance}
.article-head .byline{font-family:'Inter';font-size:13px;color:var(--bgm-muted);letter-spacing:.06em;text-transform:uppercase;font-weight:500}
.article-head .byline strong{color:var(--bgm-black);font-weight:700;letter-spacing:.04em}

.article-hero{position:relative;background:#0D0D0D;border-bottom:1px solid #EBEBEB;max-width:1200px;margin:32px auto 0;padding:0 28px}
.article-hero img{width:100%;height:clamp(260px,38vw,460px);object-fit:cover;object-position:center;border-radius:4px;display:block}
.article-hero{border-bottom:none}
.article-hero .credit{right:36px}
.article-hero .credit{position:absolute;bottom:14px;right:18px;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.55);font-family:'Orbitron';font-weight:500}

.article-layout{max-width:1200px;margin:0 auto;padding:56px 28px 80px;display:grid;grid-template-columns:minmax(0,680px) 1fr;gap:64px;align-items:start}
@media(max-width:980px){.article-layout{grid-template-columns:1fr;gap:48px;max-width:720px}}

.article-body-text{font-size:17px;line-height:1.75;color:var(--bgm-black)}
.article-body-text p{margin-bottom:22px;text-wrap:pretty}
.article-body-text p.lead{font-size:19px;line-height:1.6;color:var(--bgm-dark);font-weight:500;border-left:3px solid var(--bgm-red);padding-left:22px;margin-bottom:32px;margin-left:-25px}
@media(max-width:520px){.article-body-text p.lead{margin-left:0;padding-left:18px}}
.article-body-text .art-h{font-family:'Orbitron';font-weight:700;font-size:19px;line-height:1.3;color:var(--bgm-black);margin:38px 0 16px}
.article-body-text .art-fig{margin:4px 0 30px}
.article-body-text .art-fig img{width:100%;max-width:640px;height:auto;display:block;border:1px solid #EBEBEB;border-radius:4px}

.article-cta{margin-top:48px;background:var(--bgm-black);color:#fff;padding:36px 36px 38px;border-radius:4px;display:flex;flex-direction:column;gap:18px;align-items:flex-start;border-left:3px solid var(--bgm-red)}
.article-cta h3{font-family:'Orbitron';font-weight:700;font-size:20px;line-height:1.25;letter-spacing:-.005em;color:#fff;text-wrap:balance}
.article-cta p{font-size:15px;color:rgba(255,255,255,.72);line-height:1.5;text-wrap:pretty}
.article-cta .btn{display:inline-flex;align-items:center;gap:10px;background:var(--bgm-red);color:#fff;font-family:'Orbitron';font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;padding:14px 22px;border-radius:2px;transition:background .2s,transform .2s;margin-top:6px}
.article-cta .btn:hover{background:#E62121;transform:translateY(-1px)}

/* ── Sidebar ── */
.article-sidebar{display:flex;flex-direction:column;gap:36px;position:sticky;top:24px}
@media(max-width:980px){.article-sidebar{position:static}}

.side-block{border-top:2px solid var(--bgm-black);padding-top:18px}
.side-block .label{font-family:'Orbitron';font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--bgm-red);font-weight:700;margin-bottom:18px}

.product-card{background:#F8F8F8;border:1px solid #EBEBEB;padding:22px;border-radius:4px;display:flex;flex-direction:column;gap:14px}
.product-card .product-img{aspect-ratio:4/3;background:linear-gradient(135deg,#F2F2F2 0%, #EBEBEB 100%);display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:2px}
.product-card .product-img img{width:100%;height:100%;object-fit:contain;padding:14px}
.product-card h4{font-family:'Orbitron';font-weight:700;font-size:16px;color:var(--bgm-black);line-height:1.25}
.product-card p{font-size:13px;color:var(--bgm-muted);line-height:1.5;text-wrap:pretty}
.product-card .product-link{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;font-family:'Orbitron';font-size:10px;letter-spacing:.18em;text-transform:uppercase;font-weight:700;padding:10px 14px;border:1px solid var(--bgm-black);color:var(--bgm-black);border-radius:2px;transition:all .2s}
.product-card .product-link:hover{background:var(--bgm-black);color:#fff}

.related-list{display:flex;flex-direction:column;gap:18px}
.related-item{display:flex;flex-direction:column;gap:6px;padding:12px 0;border-bottom:1px solid #EBEBEB;cursor:pointer;transition:padding .2s}
.related-item:last-child{border-bottom:none}
.related-item:hover{padding-left:6px}
.related-item .cat-tag{font-size:9px}
.related-item .related-title{font-family:'Orbitron';font-size:13px;font-weight:700;line-height:1.35;color:var(--bgm-black);text-wrap:balance}
.related-item .related-date{font-size:11px;color:var(--bgm-muted);letter-spacing:.06em;text-transform:uppercase}


.lang-switch{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.2);border-radius:2px;overflow:hidden;font-family:'Orbitron';font-size:11px;font-weight:700;letter-spacing:.12em;margin-right:6px}
.lang-switch button{background:transparent;color:rgba(255,255,255,.6);border:none;padding:7px 11px;cursor:pointer;transition:background .2s,color .2s}
.lang-switch button:hover{color:#fff}
.lang-switch button.active{background:var(--bgm-red);color:#fff}

/* Repuestos (generado) */
.rep-wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.ficha{width:100%;border-collapse:collapse;margin:8px 0 28px;font-size:15px}
.ficha th,.ficha td{text-align:left;padding:11px 14px;border-bottom:1px solid #e5e5e5;vertical-align:top}
.ficha th{width:42%;color:var(--bgm-muted,#6b6b6b);font-weight:500}
.ficha td{color:#0d0d0d;font-weight:600}
.ficha td.mono{font-family:'Roboto Mono',ui-monospace,monospace;font-weight:500}
.rep-lista{columns:2;column-gap:32px;padding:0;margin:0 0 32px;list-style:none}
.rep-lista li{break-inside:avoid;padding:6px 0;border-bottom:1px solid #eee;font-size:14.5px}
.rep-lista a{color:#0d0d0d;text-decoration:none}.rep-lista a:hover{color:var(--bgm-red,#cc1a1a)}
.rep-lista .num{font-family:'Roboto Mono',ui-monospace,monospace;color:#6b6b6b;font-size:13px;margin-left:6px}
.rep-maquinas{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin:8px 0 32px}
.rep-maquinas a{display:block;padding:16px;border:1px solid #e5e5e5;border-radius:4px;text-decoration:none;color:#0d0d0d;font-weight:600}
.rep-maquinas a span{display:block;font-weight:400;color:#6b6b6b;font-size:13px;margin-top:4px}
.rep-familia{font-family:'Orbitron',sans-serif;font-size:13px;letter-spacing:.12em;text-transform:uppercase;margin:28px 0 8px;color:#0d0d0d}
@media (max-width:720px){.rep-lista{columns:1}}
