  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --negro: #0a0a0a;
    --rojo: #D8260E;
    --rojo-hover: #b51e0b;
    --naranja: #F05A1A;
    --crema: #F5F0E8;
    --gris-claro: #f0ece3;
    --gris-medio: #c8c4bc;
    --gris-texto: #555;
    --blanco: #ffffff;
    --sombra: 0 4px 20px rgba(0,0,0,0.12);
    --sombra-card: 0 2px 12px rgba(0,0,0,0.09);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Barlow', sans-serif;
    background: var(--crema);
    color: var(--negro);
    line-height: 1.6;
  }

  /* ─── HEADER ─── */
  header {
    background: var(--negro);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--rojo);
  }
  .header-inner {
    max-width: 1400px;
    margin: auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
  .logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--blanco);
    letter-spacing: 2px;
    text-decoration: none;
  }
  .logo span { color: var(--rojo); }
  nav { display: flex; gap: 1.5rem; align-items: center; }
  nav a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--gris-medio);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  nav a:hover { color: var(--rojo); }
  .btn-sub {
    background: var(--rojo);
    color: var(--blanco) !important;
    padding: 0.45rem 1.1rem;
    border-radius: 3px;
    transition: background 0.2s !important;
  }
  .btn-sub:hover { background: var(--rojo-hover) !important; }

  /* ─── HERO ─── */
  .hero {
    background: var(--negro);
    position: relative;
    overflow: hidden;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23ffffff08'/%3E%3C/svg%3E") repeat;
  }
  .hero-badge {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rojo);
    border: 1px solid var(--rojo);
    padding: 0.25rem 0.8rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
  }
  .hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6.5rem);
    color: var(--blanco);
    letter-spacing: 4px;
    line-height: 0.95;
    margin-bottom: 1.2rem;
  }
  .hero h1 span { color: var(--rojo); }
  .hero p {
    color: var(--gris-medio);
    font-size: 1.15rem;
    max-width: 540px;
    margin: 0 auto 2rem;
  }
  .hero-cta {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .btn-primary {
    background: var(--rojo);
    color: var(--blanco);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 3px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
  }
  .btn-primary:hover { background: var(--rojo-hover); transform: translateY(-1px); }
  .btn-outline {
    border: 2px solid var(--gris-medio);
    color: var(--gris-medio);
    padding: 0.75rem 1.8rem;
    border-radius: 3px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-outline:hover { border-color: var(--blanco); color: var(--blanco); }

  /* ─── CATEGORIAS ─── */
  .cats {
    background: var(--rojo);
    padding: 0.6rem 1.5rem;
    overflow-x: auto;
    white-space: nowrap;
  }
  .cats-inner {
    max-width: 1400px;
    margin: auto;
    display: flex;
    gap: 0.2rem;
  }
  .cat-pill {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 0.3rem 0.9rem;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
  }
  .cat-pill:hover, .cat-pill.active {
    background: rgba(0,0,0,0.25);
    color: var(--blanco);
  }

  /* ─── LAYOUT PRINCIPAL ─── */
  .page-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    gap: 2rem;
    align-items: start;
  }

  /* ─── SIDEBAR PUBLICIDAD ─── */
  .sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

  .ad-block {
    background: var(--blanco);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--sombra-card);
    border: 1px solid #e0dbd0;
  }
  .ad-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gris-medio);
    text-align: center;
    padding: 0.4rem;
    border-bottom: 1px solid #e8e3da;
  }
  .ad-img {
    display: block;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 50%, #1a1a1a 100%);
    position: relative;
  }
  .ad-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    text-align: center;
  }
  .ad-p1 {
    background: linear-gradient(160deg, #0a0a0a 0%, #1c1c1c 100%);
  }
  .ad-p1 .ad-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: var(--blanco);
    line-height: 1.1;
  }
  .ad-p1 .ad-sub {
    font-size: 0.75rem;
    color: var(--gris-medio);
    margin-bottom: 0.5rem;
  }
  .ad-p1 .ad-cta {
    background: var(--rojo);
    color: var(--blanco);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
    border: none;
  }
  .ad-p2 {
    background: linear-gradient(160deg, #F05A1A 0%, #c44010 100%);
  }
  .ad-p2 .ad-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--blanco);
    line-height: 1.1;
  }
  .ad-p2 .ad-sub { font-size: 0.75rem; color: rgba(255,255,255,0.8); margin-bottom: 0.5rem; }
  .ad-p2 .ad-cta {
    background: var(--blanco);
    color: var(--naranja);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
    border: none;
  }
  .ad-p3 {
    background: linear-gradient(160deg, #1a2a3a 0%, #0d1a26 100%);
  }
  .ad-p3 .ad-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #7ec8e3;
    line-height: 1.1;
  }
  .ad-p3 .ad-sub { font-size: 0.72rem; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
  .ad-p3 .ad-cta {
    background: #7ec8e3;
    color: #0d1a26;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
    border: none;
  }
  .ad-icon { font-size: 2rem; margin-bottom: 0.3rem; }

  .sidebar-widget {
    background: var(--blanco);
    border-radius: 6px;
    box-shadow: var(--sombra-card);
    border: 1px solid #e0dbd0;
    overflow: hidden;
  }
  .widget-header {
    background: var(--negro);
    padding: 0.6rem 1rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blanco);
  }
  .widget-header span { color: var(--rojo); }
  .widget-body { padding: 1rem; }
  .widget-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f0ece3;
    text-decoration: none;
    color: var(--negro);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
  }
  .widget-link:last-child { border-bottom: none; }
  .widget-link:hover { color: var(--rojo); }
  .widget-link::before {
    content: '▸';
    color: var(--rojo);
    font-size: 0.7rem;
    flex-shrink: 0;
  }

  /* ─── CONTENIDO PRINCIPAL ─── */
  .main { min-width: 0; }

  /* Post destacado */
  .featured-post {
    background: var(--negro);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--sombra);
    position: relative;
    cursor: pointer;
  }
  .featured-img {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #1a0a00 0%, #3d1000 40%, #0a0a0a 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
  }
  .featured-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  }
  .featured-moto-art {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    opacity: 0.12;
  }
  .featured-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    width: 100%;
  }
  .tag {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    margin-bottom: 0.6rem;
  }
  .tag-rojo { background: var(--rojo); color: var(--blanco); }
  .tag-naranja { background: var(--naranja); color: var(--blanco); }
  .tag-oscuro { background: rgba(255,255,255,0.15); color: var(--blanco); }
  .featured-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--blanco);
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 0.6rem;
  }
  .featured-content p {
    color: var(--gris-medio);
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  .post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gris-medio);
  }
  .author-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--rojo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--blanco);
  }

  /* Grid de posts */
  .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 3px;
    color: var(--negro);
    border-left: 4px solid var(--rojo);
    padding-left: 0.75rem;
    margin-bottom: 1.2rem;
  }
  .posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
  }
  .post-card {
    background: var(--blanco);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--sombra-card);
    border: 1px solid #e8e3da;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  }
  .card-thumb {
    width: 100%;
    height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .thumb-1 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
  .thumb-2 { background: linear-gradient(135deg, #1a0a00 0%, #4a1500 100%); }
  .thumb-3 { background: linear-gradient(135deg, #0a1a0a 0%, #1a3a1a 100%); }
  .thumb-4 { background: linear-gradient(135deg, #1a1a0a 0%, #3a3a0a 100%); }
  .thumb-5 { background: linear-gradient(135deg, #1a0a1a 0%, #3a0a3a 100%); }
  .thumb-6 { background: linear-gradient(135deg, #0a0a1a 0%, #0a1a3a 100%); }
  .thumb-emoji { font-size: 4rem; opacity: 0.4; }
  .card-tag { position: absolute; top: 0.7rem; left: 0.7rem; }
  .card-body { padding: 1rem; }
  .card-body h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--negro);
  }
  .card-body p {
    font-size: 0.82rem;
    color: var(--gris-texto);
    margin-bottom: 0.8rem;
    line-height: 1.5;
  }
  .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--gris-medio);
    border-top: 1px solid #f0ece3;
    padding-top: 0.6rem;
  }
  .read-time { color: var(--rojo); font-weight: 600; }

  /* Banner horizontal */
  .ad-horizontal {
    background: var(--negro);
    border-radius: 6px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
  }
  .ad-horizontal::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216,38,14,0.15) 0%, transparent 70%);
  }
  .ad-h-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #444;
    position: absolute;
    top: 0.4rem;
    right: 0.6rem;
  }
  .ad-h-content h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--blanco);
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
  }
  .ad-h-content p { font-size: 0.85rem; color: var(--gris-medio); }

  /* Newsletter */
  .newsletter {
    background: var(--rojo);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
  }
  .newsletter h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--blanco);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
  }
  .newsletter p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 1.2rem; }
  .nl-form { display: flex; gap: 0.5rem; max-width: 400px; margin: auto; }
  .nl-input {
    flex: 1;
    padding: 0.65rem 1rem;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    color: var(--blanco);
    font-family: 'Barlow', sans-serif;
    font-size: 0.9rem;
    outline: none;
  }
  .nl-input::placeholder { color: rgba(255,255,255,0.6); }
  .nl-input:focus { border-color: rgba(255,255,255,0.8); }
  .nl-btn {
    background: var(--blanco);
    color: var(--rojo);
    border: none;
    padding: 0.65rem 1.2rem;
    border-radius: 3px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
  }
  .nl-btn:hover { opacity: 0.9; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--negro);
    color: var(--gris-medio);
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 2rem;
    border-top: 3px solid var(--rojo);
  }
  .footer-grid {
    max-width: 1400px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
  .footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--blanco);
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    display: block;
    text-decoration: none;
  }
  .footer-logo span { color: var(--rojo); }
  .footer-about { font-size: 0.85rem; line-height: 1.7; }
  .footer-col h5 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blanco);
    margin-bottom: 1rem;
    border-bottom: 1px solid #222;
    padding-bottom: 0.5rem;
  }
  .footer-col a {
    display: block;
    color: var(--gris-medio);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--rojo); }
  .footer-bottom {
    max-width: 1400px;
    margin: auto;
    border-top: 1px solid #1a1a1a;
    padding-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
  }
  .footer-bottom a { color: var(--rojo); text-decoration: none; }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1100px) {
    .page-wrap { grid-template-columns: 200px 1fr 200px; }
  }
  @media (max-width: 900px) {
    .page-wrap { grid-template-columns: 1fr; }
    .sidebar { flex-direction: row; flex-wrap: wrap; }
    .sidebar .ad-block { flex: 1; min-width: 180px; }
    .sidebar .sidebar-widget { flex: 1; min-width: 200px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    nav a:not(.btn-sub) { display: none; }
    .posts-grid { grid-template-columns: 1fr; }
    .nl-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
  }