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

html,
body{
    width: 100%;
    min-height: 100%;
}

body{
    background: #060b16;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

img{
    max-width: 100%;
}

.container{
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* NAVBAR */

.navbar-r8{
    background: #060b16;
    border-bottom: 1px solid #1e293b;
    padding: 10px 0;
}

/* LOGO — estilo Mercado Pago */

.logo-r8-brand{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-r8-icono{
    height: 44px;
    width: 44px;
    object-fit: cover;
    display: block;
    /* mix-blend-mode: screen hace desaparecer
       el fondo negro del PNG dejando solo
       el ícono blanco/gris visible */
      /* mix-blend-mode: screen;*/
    border-radius: 4px;
}

.logo-r8-nombre{
    color: white;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.logo-azul{
    color: #3b82f6;
}

.nav-link{
    color: #d1d5db !important;
    margin-left: 22px;
    font-size: 16px;
    font-weight: 600;
}

.nav-link:hover{
    color: #60a5fa !important;
}

/* BOTONES */

.btn-r8,
.btn-comprar,
.btn-comprar-grande{
    background: linear-gradient(135deg,#2563eb,#3b82f6);
    color: white;
    border-radius: 12px;
    font-weight: bold;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-r8{
    padding: 15px 32px;
}

.btn-outline-r8{
    border: 1px solid #334155;
    color: white;
    border-radius: 12px;
    padding: 15px 32px;
    text-decoration: none;
}

.btn-r8:hover,
.btn-outline-r8:hover,
.btn-comprar:hover,
.btn-comprar-grande:hover{
    color: white;
}

/* HERO */

.hero-section{
    position: relative;
    padding: 90px 0;
    overflow: hidden;
}

.hero-content h1{
    font-size: 62px;
    line-height: 1.1;
    font-weight: bold;
    margin-bottom: 25px;
}

.hero-content p{
    color: #9ca3af;
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-badge{
    display: inline-block;
    background: #111827;
    color: #60a5fa;
    padding: 10px 18px;
    border-radius: 50px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: bold;
}

.hero-buttons{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image-container{
    width: 100%;
}

.hero-image{
    width: 100%;
    max-width: 560px;
    height: 360px;
    border-radius: 26px;
    display: block;
    margin: auto;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* SECCIONES */

.productos-section,
.blog-home-section{
    padding: 70px 0;
}

.section-mini-title{
    color: #60a5fa;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-header{
    margin-bottom: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.section-header h2{
    font-size: 40px;
    font-weight: bold;
}

/* CARDS */

.producto-card,
.articulo-card{
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 22px;
    overflow: hidden;
    transition: .3s;
    height: 100%;
}

.producto-card:hover,
.articulo-card:hover{
    transform: translateY(-6px);
    border-color: #2563eb;
}

.producto-img{
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: white;
    padding: 12px;
}

.producto-body,
.articulo-body{
    padding: 22px;
}

.producto-categoria{
    color: #60a5fa;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.producto-title-link{
    color: white;
    text-decoration: none;
}

.producto-title-link:hover{
    color: #60a5fa;
}

.producto-body h5{
    font-size: 21px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.producto-body p,
.articulo-body p{
    color: #94a3b8;
    min-height: 70px;
}

.producto-precio{
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-comprar{
    width: 100%;
    padding: 14px;
}

/* DETALLE PRODUCTO */

.detalle-producto-section{
    padding: 90px 0;
}

.detalle-imagen-container{
    background: linear-gradient(145deg,#111827,#0f172a);
    border: 1px solid #1e293b;
    border-radius: 30px;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.detalle-imagen{
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: .4s ease;
    transform: scale(1.05);
}

.detalle-imagen:hover{
    transform: scale(1.09);
}

.detalle-info{
    padding-left: 40px;
}

.detalle-categoria{
    color: #60a5fa;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}

.detalle-info h1{
    font-size: 52px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 25px;
}

.detalle-descripcion{
    color: #94a3b8;
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.detalle-precio{
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 30px;
}

.btn-comprar-grande{
    padding: 18px 40px;
    font-size: 18px;
}

.aviso-afiliado{
    color: #64748b;
    margin-top: 20px;
    font-size: 14px;
    max-width: 500px;
}

/* BLOG */

.articulo-img{
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.articulo-body h3{
    margin-top: 12px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3;
}

.leer-mas-link{
    color: #60a5fa;
    text-decoration: none;
    font-weight: bold;
}

.page-header{
    padding: 80px 0 40px 0;
    text-align: center;
}

.page-header h1{
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-header p{
    color: #94a3b8;
    font-size: 20px;
    max-width: 800px;
    margin: auto;
}

/* ARTICULO DETALLE */

.article-page{
    padding: 55px 0 65px 0;
}

.article-header{
    text-align: center;
    max-width: 980px;
    margin: 0 auto 30px auto;
}

.article-category{
    display: inline-block;
    background: rgba(37,99,235,.15);
    color: #60a5fa;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.article-header h1{
    font-size: 44px;
    font-weight: bold;
    line-height: 1.15;
    margin-bottom: 14px;
}

.article-header p{
    color: #94a3b8;
    font-size: 18px;
    max-width: 760px;
    margin: auto;
}

.article-centered{
    max-width: 900px;
    margin: auto;
}

.article-cover-box{
    width: 100%;
    max-width: 680px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 20px;
    padding: 14px;
    text-align: center;
    margin: 0 auto 26px auto;
}

.article-cover-img{
    width: 100%;
    height: 190px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: white;
    border-radius: 14px;
    padding: 10px;
}

.article-content-box{
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 22px;
    padding: 38px;
}

.article-content-box p{
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.85;
    margin-bottom: 20px;
}

.article-content-box h2{
    font-size: 32px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 18px;
    color: white;
}

.article-content-box h3{
    font-size: 26px;
    font-weight: bold;
    margin-top: 32px;
    margin-bottom: 14px;
    color: white;
}

.article-content-box ul{
    margin-top: 18px;
    margin-bottom: 18px;
    padding-left: 25px;
}

.article-content-box li{
    margin-bottom: 10px;
    color: #d1d5db;
}

/* PRODUCTOS MENCIONADOS */

.productos-mencionados-section{
    padding-top: 25px;
}

.productos-mencionados-section .section-header{
    margin-bottom: 30px;
}

.productos-mencionados-section h2{
    font-size: 36px;
    font-weight: bold;
}

/* EMPTY */

.empty-box{
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

/* FOOTER */

.footer-r8{
    background: #0f172a;
    border-top: 1px solid #1e293b;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

/* TABLA DE CONTENIDO */

.toc-box{
    background: #0f172a;
    border: 1px solid #1e293b;
    border-left: 4px solid #3b82f6;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 28px;
}

.toc-titulo{
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.toc-lista{
    margin: 0;
    padding-left: 20px;
}

.toc-item{
    margin-bottom: 8px;
    line-height: 1.4;
}

.toc-item a{
    color: #60a5fa;
    text-decoration: none;
    font-size: 15px;
    transition: color .2s;
}

.toc-item a:hover{
    color: white;
}

.toc-h3{
    margin-left: 18px;
    list-style-type: circle;
}

.toc-h3 a{
    font-size: 14px;
    color: #94a3b8;
}

.toc-h3 a:hover{
    color: #60a5fa;
}

/* PROS Y CONTRAS */

.pros-contras-box{
    border-radius: 16px;
    padding: 22px 26px;
    margin: 28px 0;
    border: 1px solid;
}

.pros-box{
    background: rgba(16, 185, 129, 0.07);
    border-color: rgba(16, 185, 129, 0.3);
}

.contras-box{
    background: rgba(239, 68, 68, 0.07);
    border-color: rgba(239, 68, 68, 0.3);
}

.pros-contras-titulo{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 14px;
}

.pros-box .pros-contras-titulo{
    color: #10b981;
}

.contras-box .pros-contras-titulo{
    color: #ef4444;
}

.pros-icono-titulo,
.contras-icono-titulo{
    font-size: 18px;
    margin-right: 6px;
}

.pros-contras-lista{
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-contras-lista li{
    padding: 6px 0;
    font-size: 15px;
    color: #d1d5db;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pros-icono{
    color: #10b981;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.contras-icono{
    color: #ef4444;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* RATING CON ESTRELLAS */

.rating-box{
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 22px 26px;
    margin: 28px 0;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.rating-estrellas{
    display: flex;
    gap: 4px;
}

.estrella{
    font-size: 28px;
    line-height: 1;
}

.estrella.activa{
    color: #f59e0b;
}

.estrella.vacia{
    color: #334155;
}

.rating-numero{
    font-size: 36px;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.rating-de{
    font-size: 18px;
    font-weight: normal;
    color: #64748b;
}

.rating-texto{
    color: #94a3b8;
    font-size: 15px;
    width: 100%;
    margin-top: 4px;
}

/* CTA PROFESIONAL */

.cta-box{
    background: linear-gradient(135deg, #1e3a5f, #0f172a);
    border: 1px solid #2563eb;
    border-radius: 20px;
    padding: 30px;
    margin: 36px 0;
    text-align: center;
}

.cta-pregunta{
    font-size: 22px;
    font-weight: bold;
    color: white;
    margin-bottom: 18px;
}

.cta-boton{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 16px 36px;
    border-radius: 14px;
    text-decoration: none;
    transition: opacity .2s;
}

.cta-boton:hover{
    opacity: 0.88;
    color: white;
}

.cta-flecha{
    font-size: 20px;
}

.cta-aviso{
    color: #64748b;
    font-size: 13px;
    margin-top: 14px;
}

/* COMPARATIVA VISUAL */

.comparativa-box{
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 24px;
    margin: 28px 0;
    overflow: hidden;
}

.comparativa-titulo{
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin-bottom: 18px;
}

.comparativa-scroll{
    overflow-x: auto;
}

.comparativa-tabla{
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.comparativa-tabla thead tr{
    border-bottom: 2px solid #1e293b;
}

.comparativa-tabla th{
    color: #60a5fa;
    font-weight: bold;
    padding: 10px 14px;
    text-align: left;
    white-space: nowrap;
}

.comparativa-tabla td{
    padding: 12px 14px;
    color: #d1d5db;
    border-bottom: 1px solid #1e293b;
    white-space: nowrap;
}

.comparativa-tabla tbody tr:last-child td{
    border-bottom: none;
}

.comparativa-tabla tbody tr:hover{
    background: #111827;
}

.fila-mejor{
    background: rgba(37, 99, 235, 0.08);
}

.fila-mejor td{
    color: white;
}

.nota-badge{
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.nota-alta{
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.nota-media{
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.nota-baja{
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.mejor-label{
    color: #f59e0b !important;
    font-weight: bold;
    font-size: 13px;
}

/* RESPONSIVE */

@media(max-width:991px){

    .logo-r8-icono{
        height: 36px;
        width: 36px;
    }

    .logo-r8-nombre{
        font-size: 22px;
    }

    .hero-section{
        text-align: center;
        padding: 70px 0;
    }

    .hero-content h1{
        font-size: 42px;
    }

    .hero-content p{
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons{
        justify-content: center;
    }

    .hero-image{
        height: 300px;
        margin-top: 40px;
    }

    .section-header{
        flex-direction: column;
        align-items: flex-start;
    }

    .detalle-info{
        padding-left: 0;
        margin-top: 40px;
    }

    .detalle-info h1{
        font-size: 38px;
    }

    .detalle-imagen-container{
        height: 420px;
    }

    .page-header h1,
    .article-header h1{
        font-size: 34px;
    }

    .article-header p{
        font-size: 17px;
    }

    .article-cover-box{
        max-width: 100%;
    }

    .article-cover-img{
        height: 165px;
    }

    .article-content-box{
        padding: 25px;
    }

    .article-content-box p{
        font-size: 17px;
    }

    .productos-mencionados-section h2{
        font-size: 30px;
    }
}

/* BREADCRUMBS */

.breadcrumb-r8{
    background: #0a1020;
    border-bottom: 1px solid #1e293b;
    padding: 12px 0;
}

.breadcrumb-lista{
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-lista a{
    color: #60a5fa;
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb-lista a:hover{
    color: white;
}

.breadcrumb-lista .separador{
    color: #334155;
    font-size: 16px;
}

.breadcrumb-lista .activo{
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

/* AUTOR Y FECHA */

.article-meta{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 14px 0 20px 0;
    flex-wrap: wrap;
}

.article-meta-item{
    color: #64748b;
    font-size: 14px;
}

.article-meta-sep{
    color: #334155;
}