/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #0A0A0A; color: #F0F0F0; min-height: 100vh; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── NAV ──────────────────────────────────────────────── */
.bd-nav {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1C1C1C;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.bd-logo { display: flex; align-items: center; cursor: pointer; }
.bd-logo img { height: 36px; width: auto; object-fit: contain; }
.bd-logo-text { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: #F0F0F0; letter-spacing: 1px; }
.bd-logo-text span { color: #E8002D; }
.bd-nav-links { display: flex; gap: 0; list-style: none; }
.bd-nav-links li a {
  font-size: 13px; font-weight: 500; color: #666;
  padding: 0 14px; height: 58px;
  display: flex; align-items: center;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.bd-nav-links li a:hover,
.bd-nav-links li a.active,
.bd-nav-links li.current-menu-item a { color: #F0F0F0; border-bottom-color: #E8002D; }
.bd-nav-right { display: flex; align-items: center; gap: 12px; }
.bd-search-wrap { position: relative; display: flex; align-items: center; }
.bd-search-input {
  background: #111; border: 1px solid #222; color: #F0F0F0;
  padding: 7px 32px 7px 34px; border-radius: 6px;
  font-size: 13px; font-family: 'Inter', sans-serif;
  width: 200px; outline: none;
  transition: border-color .2s, width .2s;
}
.bd-search-input:focus { border-color: #E8002D; width: 240px; }
.bd-search-input::placeholder { color: #444; }
.bd-search-icon { position: absolute; left: 10px; color: #555; font-size: 15px; pointer-events: none; }
.bd-search-clear { position: absolute; right: 9px; color: #555; font-size: 14px; cursor: pointer; background: none; border: none; padding: 0; display: none; }
.bd-yt {
  background: #E8002D; color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 8px 14px; border-radius: 4px;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; transition: background .15s;
}
.bd-yt:hover { background: #c0001f; color: #fff; }

/* ── HERO ─────────────────────────────────────────────── */
.bd-hero {
  background: #0A0A0A;
  padding: 4rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #1C1C1C;
}
.bd-hero-stripe {
  position: absolute; top: 0; right: 0; bottom: 0; width: 42%;
  background: #111;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
}
.bd-hero-line {
  position: absolute; top: 0; bottom: 0; width: 3px;
  background: #E8002D; right: 42%;
  transform: skewX(-5deg) translateX(6px);
}
.bd-hero-content { position: relative; z-index: 1; max-width: 540px; }
.bd-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; color: #E8002D; text-transform: uppercase; margin-bottom: 14px; }
.bd-hero h1 { font-family: 'Rajdhani', sans-serif; font-size: 46px; font-weight: 700; line-height: 1.05; color: #F0F0F0; margin-bottom: 16px; }
.bd-hero h1 em { color: #E8002D; font-style: normal; }
.bd-hero-sub { font-size: 15px; color: #666; line-height: 1.65; margin-bottom: 28px; max-width: 420px; }
.bd-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.bd-stats { display: flex; gap: 36px; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #1C1C1C; }
.bd-snum { font-family: 'Rajdhani', sans-serif; font-size: 30px; font-weight: 700; color: #F0F0F0; }
.bd-snum span { color: #E8002D; }
.bd-slabel { font-size: 11px; color: #444; margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }

/* ── BOTONES ─────────────────────────────────────────── */
.bd-btn-r {
  background: #E8002D; color: #fff; border: none;
  padding: 12px 22px; border-radius: 4px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; transition: background .15s;
}
.bd-btn-r:hover { background: #c0001f; color: #fff; }
.bd-btn-g {
  background: transparent; color: #F0F0F0;
  border: 1px solid #333; padding: 12px 22px;
  border-radius: 4px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: border-color .15s, color .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.bd-btn-g:hover { border-color: #666; color: #fff; }

/* ── SECCIÓN ─────────────────────────────────────────── */
.bd-section { padding: 2rem; }
.bd-sec-hdr { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; }
.bd-sec-title { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: #F0F0F0; letter-spacing: .3px; }
.bd-sec-title span { color: #E8002D; }
.bd-sec-link { font-size: 12px; color: #444; cursor: pointer; transition: color .15s; }
.bd-sec-link:hover { color: #E8002D; }

/* ── FILTROS ─────────────────────────────────────────── */
.bd-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.bd-filter {
  background: #111; border: 1px solid #222; color: #666;
  padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 500; cursor: pointer;
  transition: all .15s; font-family: 'Inter', sans-serif;
  text-decoration: none; display: inline-block;
}
.bd-filter:hover { border-color: #444; color: #CCC; }
.bd-filter.active { background: #E8002D; border-color: #E8002D; color: #fff; }

/* ── GRID DE PRODUCTOS ───────────────────────────────── */
.bd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.bd-card {
  background: #111; border: 1px solid #1C1C1C;
  border-radius: 8px; overflow: hidden;
  transition: border-color .2s, transform .2s;
  cursor: pointer; display: flex; flex-direction: column;
}
.bd-card:hover { border-color: #2E2E2E; transform: translateY(-3px); }
.bd-card-img {
  width: 100%; height: 120px;
  background: #161616;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; border-bottom: 1px solid #1C1C1C;
  overflow: hidden;
}
.bd-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.bd-card-body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.bd-card-cat { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: #E8002D; text-transform: uppercase; margin-bottom: 6px; }
.bd-card-name { font-size: 13px; font-weight: 500; color: #E0E0E0; line-height: 1.4; margin-bottom: 6px; }
.bd-card-desc { font-size: 11px; color: #555; line-height: 1.4; margin-bottom: 12px; flex: 1; }
.bd-badge {
  display: inline-block; background: #1C1C1C;
  border: 1px solid #2A2A2A; border-radius: 3px;
  padding: 2px 8px; font-size: 10px; color: #777; margin-bottom: 12px;
}
.bd-badge.gold { color: #C9A84C; border-color: #3A2E14; background: #1A150A; }
.bd-card-cta {
  width: 100%; background: transparent;
  border: 1px solid #E8002D; color: #E8002D;
  padding: 8px 0; border-radius: 4px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: 'Inter', sans-serif; transition: background .15s, color .15s;
  text-decoration: none;
}
.bd-card-cta:hover { background: #E8002D; color: #fff; }

/* ── DETALLE PRODUCTO ────────────────────────────────── */
.bd-detail-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.bd-detail-img {
  background: #111; border: 1px solid #1C1C1C;
  border-radius: 8px; height: 280px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; overflow: hidden;
}
.bd-detail-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.bd-detail-cat { font-size: 10px; font-weight: 600; letter-spacing: 2px; color: #E8002D; text-transform: uppercase; margin-bottom: 10px; }
.bd-detail-name { font-family: 'Rajdhani', sans-serif; font-size: 30px; font-weight: 700; color: #F0F0F0; line-height: 1.1; margin-bottom: 10px; }
.bd-detail-tagline { font-size: 14px; color: #888; margin-bottom: 20px; line-height: 1.6; }
.bd-detail-pro { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 13px; color: #CCC; line-height: 1.5; }
.bd-detail-pro i { color: #E8002D; margin-top: 2px; flex-shrink: 0; font-size: 15px; }
.bd-detail-verdict {
  background: #111; border: 1px solid #1C1C1C;
  border-left: 3px solid #E8002D;
  border-radius: 0 6px 6px 0;
  padding: 14px 16px; margin: 20px 0;
  font-size: 13px; color: #888; line-height: 1.7;
}
.bd-detail-verdict strong { color: #E8002D; display: block; margin-bottom: 6px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.bd-detail-cta {
  width: 100%; background: #E8002D; border: none; color: #fff;
  padding: 14px 0; border-radius: 4px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif; transition: background .15s; margin-top: 4px;
  text-decoration: none;
}
.bd-detail-cta:hover { background: #c0001f; color: #fff; }
.bd-detail-desc { padding-top: 2rem; border-top: 1px solid #1C1C1C; margin-top: 2rem; }
.bd-detail-desc h2, .bd-detail-desc h3 { font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700; color: #F0F0F0; margin-bottom: 14px; }
.bd-detail-desc p { font-size: 14px; color: #888; line-height: 1.8; margin-bottom: 14px; }
.bd-related-title { font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700; color: #F0F0F0; margin: 2rem 0 1rem; padding-top: 2rem; border-top: 1px solid #1C1C1C; }
.bd-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: #666; font-size: 13px; cursor: pointer;
  margin-bottom: 2rem; border: none; background: none;
  font-family: 'Inter', sans-serif; padding: 0;
  transition: color .15s;
}
.bd-back:hover { color: #F0F0F0; }

/* ── NOTICIAS ────────────────────────────────────────── */
.bd-news-featured {
  background: #111; border: 1px solid #1C1C1C;
  border-radius: 8px; padding: 1.75rem;
  margin-bottom: 1.5rem; cursor: pointer;
  transition: border-color .15s; display: block;
}
.bd-news-featured:hover { border-color: #2E2E2E; }
.bd-news-featured h2 { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: #F0F0F0; line-height: 1.25; margin: 10px 0; }
.bd-news-featured p { font-size: 13px; color: #666; line-height: 1.65; }
.bd-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 1.5rem; }
.bd-news-card {
  background: #111; border: 1px solid #1C1C1C;
  border-radius: 8px; padding: 1.25rem;
  cursor: pointer; transition: border-color .15s; display: block;
}
.bd-news-card:hover { border-color: #2E2E2E; }
.bd-news-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; color: #E0E0E0; line-height: 1.3; margin: 8px 0; }
.bd-news-card p { font-size: 12px; color: #555; line-height: 1.5; }
.bd-news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bd-news-tag { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }
.bd-news-tag.motor  { color: #E8002D; background: #1A0505; border: 1px solid #3A0A0A; }
.bd-news-tag.tech   { color: #C9A84C; background: #1A1505; border: 1px solid #3A2A0A; }
.bd-news-tag.formula{ color: #4C8CE8; background: #05101A; border: 1px solid #0A2040; }
.bd-news-tag.ev     { color: #4CAE4C; background: #05150A; border: 1px solid #0A3010; }
.bd-news-date { font-size: 11px; color: #444; }
.bd-news-list-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid #1C1C1C;
  cursor: pointer; transition: opacity .15s;
  text-decoration: none;
}
.bd-news-list-item:last-child { border-bottom: none; }
.bd-news-list-item:hover { opacity: .75; }
.bd-news-list-icon {
  min-width: 42px; height: 42px;
  background: #111; border: 1px solid #1C1C1C;
  border-radius: 6px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.bd-news-item-title { font-size: 13px; font-weight: 500; color: #CCC; line-height: 1.4; margin-bottom: 4px; }
.bd-news-item-meta { font-size: 10px; color: #444; }
.bd-more-news { font-size: 16px; font-family: 'Rajdhani', sans-serif; font-weight: 700; color: #F0F0F0; margin: 1.5rem 0 .75rem; padding-top: 1.5rem; border-top: 1px solid #1C1C1C; }

/* ── DETALLE NOTICIA ─────────────────────────────────── */
.bd-news-detail-header { border-bottom: 1px solid #1C1C1C; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.bd-news-detail-header h1 { font-family: 'Rajdhani', sans-serif; font-size: 32px; font-weight: 700; color: #F0F0F0; line-height: 1.15; margin: 12px 0; }
.bd-news-detail-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: #555; }
.bd-news-body p { font-size: 14px; color: #888; line-height: 1.8; margin-bottom: 1rem; }
.bd-news-body h3 { font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700; color: #F0F0F0; margin: 1.5rem 0 .75rem; }

/* ── BANNER AFILIADOS ───────────────────────────────── */
.bd-banner {
  margin: 0 2rem 2rem;
  background: #111; border: 1px solid #1C1C1C;
  border-left: 3px solid #E8002D;
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.bd-banner-text { font-size: 13px; color: #666; line-height: 1.5; }
.bd-banner-text strong { color: #F0F0F0; }

/* ── BÚSQUEDA ───────────────────────────────────────── */
.bd-search-results { padding: 2rem; }
.bd-sr-title { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: #F0F0F0; margin-bottom: 4px; }
.bd-sr-sub { font-size: 12px; color: #555; margin-bottom: 1.5rem; }
.bd-sr-section-label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: #E8002D; text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }

/* ── FOOTER ─────────────────────────────────────────── */
.bd-footer {
  border-top: 1px solid #1C1C1C;
  padding: 1.75rem 2rem;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.bd-footer-logo img { height: 28px; width: auto; opacity: .6; }
.bd-footer-logo-text { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; color: #444; }
.bd-footer-logo-text span { color: #E8002D; opacity: .7; }
.bd-footer-links { display: flex; gap: 24px; }
.bd-footer-links a { font-size: 12px; color: #444; transition: color .15s; }
.bd-footer-links a:hover { color: #888; }

/* ── EMPTY STATE ────────────────────────────────────── */
.bd-empty { text-align: center; padding: 4rem 1rem; color: #333; font-size: 14px; }
.bd-empty i { font-size: 36px; display: block; margin-bottom: 12px; color: #2A2A2A; }

/* ── PAGINACIÓN ─────────────────────────────────────── */
.bd-pagination { display: flex; justify-content: center; gap: 8px; padding: 2rem; flex-wrap: wrap; }
.bd-pagination a, .bd-pagination span {
  background: #111; border: 1px solid #222;
  color: #666; padding: 8px 14px; border-radius: 4px;
  font-size: 13px; transition: all .15s;
}
.bd-pagination a:hover { border-color: #E8002D; color: #E8002D; }
.bd-pagination .current { background: #E8002D; border-color: #E8002D; color: #fff; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 640px) {
  .bd-nav { padding: 0 1rem; }
  .bd-nav-links { display: none; }
  .bd-search-input { width: 140px; }
  .bd-hero { padding: 2.5rem 1rem 2rem; }
  .bd-hero h1 { font-size: 32px; }
  .bd-stats { gap: 20px; }
  .bd-section, .bd-search-results { padding: 1.25rem; }
  .bd-detail-layout { grid-template-columns: 1fr; }
  .bd-news-grid { grid-template-columns: 1fr; }
  .bd-footer { flex-direction: column; align-items: flex-start; }
  .bd-banner { margin: 0 1rem 1.5rem; }
}
