/* ================================================================
   tuneumatico.com — estilos.css
   CSS global compartido por todas las vistas
   ================================================================ */

/* ── 1. VARIABLES ─────────────────────────────────────────────── */
:root {
    /* Fondos */
    --bg:           #f8f9ff;
    --bg-card:      #ffffff;
    --bg-soft:      #eff4ff;

    /* Azules */
    --azul:         #0b1c30;
    --azul-medio:   #3f465c;
    --azul-claro:   #dce9ff;

    /* Verdes */
    --verde:        #006c49;
    --verde-claro:  #6cf8bb;
    --verde-bg:     #e8faf3;
    --verde-btn:    #005236;

    /* Semánticos */
    --rojo:         #dc2626;
    --rojo-bg:      #fef2f2;
    --naranja:      #d97706;
    --naranja-bg:   #fffbeb;

    /* Grises */
    --gris:         #45464d;
    --gris-borde:   #c6c6cd;
    --gris-suave:   #e5eeff;

    /* Tipografía */
    --fuente:       'Manrope', sans-serif;

    /* Radios */
    --radio-sm:     0.25rem;
    --radio:        0.5rem;
    --radio-md:     0.75rem;
    --radio-lg:     1rem;
    --radio-xl:     1.5rem;

    /* Sombras */
    --sombra:       0 2px 8px rgba(11,28,48,0.07);
    --sombra-hover: 0 6px 20px rgba(11,28,48,0.12);
}

/* ── 2. RESET Y BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--fuente);
    background: var(--bg);
    color: var(--azul);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── 3. HEADER ────────────────────────────────────────────────── */
/*
   FIX unificado: padding 1.5rem + gap 1rem evita que el logo y el
   botón se superpongan en viewports estrechos (bug presente en las
   vistas antiguas con padding 2rem sin gap).
*/
.cabecera {
    background: #fff;
    border-bottom: 1px solid var(--gris-suave);
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(11,28,48,0.06);
    gap: 1rem;
}
.logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--azul);
    text-decoration: none;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.logo span { color: var(--verde); }
.btn-comparar {
    background: var(--verde);
    color: #fff;
    font-family: var(--fuente);
    font-size: 0.78rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radio-lg);
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}
.btn-comparar:hover { background: var(--verde-btn); }

/* ── 4. BREADCRUMB ────────────────────────────────────────────── */
.breadcrumb {
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--gris);
}
.breadcrumb a { color: var(--gris); text-decoration: none; }
.breadcrumb a:hover { color: var(--verde); }
.breadcrumb span { color: var(--gris-borde); }

/* ── 5. LAYOUT ARTÍCULO (guías, modelos, reviews) ─────────────── */
.articulo {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 3rem;
    align-items: start;
}

/* ── 6. CONTENIDO EDITORIAL ───────────────────────────────────── */
.contenido h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.8rem;
}
.contenido .intro {
    font-size: 1rem;
    color: var(--gris);
    line-height: 1.75;
    margin-bottom: 2rem;
    border-left: 3px solid var(--verde);
    padding-left: 1rem;
}
.contenido h2 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 2.5rem 0 0.8rem;
}
.contenido h3 { font-size: 0.95rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.contenido h4 { font-size: 0.9rem; font-weight: 700; margin: 1.2rem 0 0.4rem; }
.contenido p { font-size: 0.9rem; color: var(--gris); line-height: 1.8; margin-bottom: 0.8rem; }
.contenido ul, .contenido ol { padding-left: 1.4rem; margin-bottom: 0.8rem; }
.contenido li { font-size: 0.9rem; color: var(--gris); line-height: 1.75; margin-bottom: 0.3rem; }
.contenido strong { color: var(--azul); font-weight: 700; }
.contenido a { color: var(--verde); text-decoration: none; font-weight: 600; }
.contenido a:hover { text-decoration: underline; }

/* ── 7. SIDEBAR ───────────────────────────────────────────────── */
.sidebar { position: sticky; top: 80px; }
.sidebar-bloque {
    background: var(--bg-card);
    border: 1px solid var(--gris-suave);
    border-radius: var(--radio-xl);
    padding: 1.3rem;
    box-shadow: var(--sombra);
    margin-bottom: 1.2rem;
}
.sidebar-titulo {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--verde);
    margin-bottom: 1rem;
}

/* ── 8. ÍNDICE DE CONTENIDO ───────────────────────────────────── */
.toc-lista { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.toc-lista a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gris);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.toc-lista a::before { content: '→'; color: var(--verde); font-size: 0.7rem; flex-shrink: 0; }
.toc-lista a:hover { color: var(--azul); }

/* ── 9. LINKS DEL SIDEBAR ─────────────────────────────────────── */
.medidas-rapidas { display: flex; flex-direction: column; gap: 0.4rem; }
.medida-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-soft);
    border-radius: 0.5rem;
    padding: 0.5rem 0.8rem;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.medida-link:hover { background: var(--verde-bg); border-color: #b3f0d8; }
.medida-link span:first-child { font-size: 0.85rem; font-weight: 700; color: var(--azul); }
.medida-link span:last-child { font-size: 0.7rem; color: var(--gris); }

.otras-guias { display: flex; flex-direction: column; gap: 0.5rem; }
.guia-link {
    display: block;
    background: var(--bg-soft);
    border-radius: 0.5rem;
    padding: 0.7rem 0.9rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s;
}
.guia-link:hover { background: var(--verde-bg); border-color: #b3f0d8; }
.guia-link-titulo { font-size: 0.82rem; font-weight: 700; color: var(--azul); margin-bottom: 0.1rem; }
.guia-link-desc { font-size: 0.72rem; color: var(--gris); }

/* ── 10. FAQ ──────────────────────────────────────────────────── */
.faq { margin: 2rem 0; }
.faq-item {
    border: 1px solid var(--gris-suave);
    border-radius: var(--radio-lg);
    margin-bottom: 0.8rem;
    overflow: hidden;
    box-shadow: var(--sombra);
}
.faq-pregunta {
    background: var(--bg-card);
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--azul);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
}
.faq-pregunta:hover { background: var(--bg-soft); }
.faq-flecha { flex-shrink: 0; transition: transform 0.2s; font-size: 0.8rem; color: var(--verde); }
.faq-respuesta {
    display: none;
    padding: 0 1.2rem 1rem;
    font-size: 0.87rem;
    color: var(--gris);
    line-height: 1.75;
}
.faq-item.abierto .faq-respuesta { display: block; }
.faq-item.abierto .faq-flecha { transform: rotate(180deg); }

/* ── 11. CALLOUTS / DATO ──────────────────────────────────────── */
.dato {
    border-radius: var(--radio-lg);
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}
.dato.verde    { background: var(--verde-bg);   border: 1px solid #b3f0d8; }
.dato.azul     { background: var(--bg-soft);    border: 1px solid var(--azul-claro); }
.dato.amarillo { background: var(--naranja-bg); border: 1px solid #fde68a; }
.dato.rojo     { background: var(--rojo-bg);    border: 1px solid #fecaca; }
.dato-icono {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem; font-weight: 800; color: #fff;
}
.dato.verde    .dato-icono { background: var(--verde); }
.dato.azul     .dato-icono { background: var(--azul); }
.dato.amarillo .dato-icono { background: var(--naranja); }
.dato.rojo     .dato-icono { background: var(--rojo); }
.dato p { font-size: 0.87rem; color: var(--azul); margin: 0; line-height: 1.65; }

/* ── 12. BLOQUE CTA ───────────────────────────────────────────── */
.cta-bloque {
    background: var(--azul);
    border-radius: var(--radio-xl);
    padding: 2rem;
    text-align: center;
    margin: 2.5rem 0;
}
.cta-bloque h3 { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.cta-bloque p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1.2rem; }
.cta-btn {
    display: inline-block;
    background: var(--verde);
    color: #fff !important;
    font-family: var(--fuente);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radio-lg);
    text-decoration: none !important;
    margin: 0.2rem;
}
.cta-btn:hover { background: var(--verde-btn); }

/* ── 13. TABLA ────────────────────────────────────────────────── */
.tabla-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: var(--radio-lg);
    border: 1px solid var(--gris-suave);
    box-shadow: var(--sombra);
    max-width: 100%;
}
table { width: 100%; border-collapse: collapse; background: var(--bg-card); font-size: 0.85rem; }
thead th {
    background: var(--azul);
    color: #fff;
    padding: 0.7rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
tbody td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--gris-suave);
    color: var(--gris);
    vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg-soft); }
tbody td:first-child { font-weight: 700; color: var(--azul); }
tbody tr.separador-gen td {
    background: var(--bg-soft);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--verde);
    padding: 0.5rem 1rem;
}
.btn-tabla {
    display: inline-block;
    background: var(--verde);
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    text-decoration: none !important;
    white-space: nowrap;
}
.btn-tabla:hover { background: var(--verde-btn); }

/* ── 14. CARDS DE MEDIDA (páginas modelo-*) ───────────────────── */
.medidas-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.medida-card {
    background: var(--bg-card);
    border: 1.5px solid var(--gris-suave);
    border-radius: var(--radio-xl);
    padding: 1.2rem;
    box-shadow: var(--sombra);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.medida-card:hover { border-color: var(--verde); box-shadow: var(--sombra-hover); }
.medida-card-titulo {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gris);
    margin-bottom: 0.4rem;
}
.medida-card-medida { font-size: 1.4rem; font-weight: 800; color: var(--azul); letter-spacing: -0.02em; margin-bottom: 0.3rem; }
.medida-card-versiones { font-size: 0.75rem; color: var(--gris); line-height: 1.5; margin-bottom: 0.8rem; }
.medida-card-precio { font-size: 0.78rem; color: var(--verde); font-weight: 700; margin-bottom: 0.7rem; }
.medida-card-btn {
    display: block;
    background: var(--verde);
    color: #fff !important;
    text-align: center;
    font-family: var(--fuente);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.5rem;
    border-radius: var(--radio-lg);
    text-decoration: none !important;
}
.medida-card-btn:hover { background: var(--verde-btn); }

/* ── 15. FOOTER ───────────────────────────────────────────────── */
.pie {
    background: var(--azul);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.pie-logo { font-size: 1rem; font-weight: 800; color: rgba(255,255,255,0.4); }
.pie-logo span { color: var(--verde-claro); }
.pie-aviso {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    max-width: 400px;
    line-height: 1.6;
    text-align: center;
}
.pie-enlaces { display: flex; gap: 1.5rem; list-style: none; }
.pie-enlaces a { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.45); text-decoration: none; }
.pie-enlaces a:hover { color: rgba(255,255,255,0.9); }


/* ── 16. COMPONENTES DEL COMPARADOR (medida, resultados, marca) ───────────── */
/* Tarjeta producto, EU badges, filtros, categorías, orden, paginación */
.tarjeta {
display: grid; grid-template-columns: 88px 1fr auto;
gap: 1.2rem; align-items: center;
background: var(--bg-card); border: 1px solid var(--gris-suave);
border-radius: var(--radio-xl); padding: 1.1rem 1.3rem;
text-decoration: none; color: inherit;
box-shadow: var(--sombra);
transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.tarjeta:hover { box-shadow: var(--sombra-hover); border-color: var(--azul-claro); transform: translateY(-1px); }
.tarjeta.mejor-precio { border-color: var(--verde); border-width: 1.5px; }
.tarjeta-img { width: 88px; height: 88px; object-fit: contain; border-radius: var(--radio-md); }
.tarjeta-img-placeholder { width: 88px; height: 88px; background: var(--bg-soft); border-radius: var(--radio-md); display: flex; align-items: center; justify-content: center; }
.tarjeta-img-placeholder svg { width: 36px; height: 36px; opacity: 0.2; }
.tarjeta-info { min-width: 0; }
.tarjeta-modelo { font-size: 0.82rem; color: var(--gris); margin-bottom: 0.6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tarjeta-advertiser { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); margin-bottom: 0.15rem; }
.tarjeta-tienda { font-size: 0.65rem; color: var(--gris); margin-top: 0.4rem; letter-spacing: 0.04em; text-transform: uppercase; }
.tarjeta-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.tarjeta-precio-area { text-align: right; flex-shrink: 0; }
.tarjeta-precio { font-size: 1.9rem; font-weight: 800; color: var(--azul); letter-spacing: -0.02em; line-height: 1; }
.tarjeta-pvp { font-size: 0.75rem; color: var(--gris); text-decoration: line-through; }
.tarjeta-ahorro { font-size: 0.72rem; font-weight: 700; color: var(--verde); margin-top: 0.15rem; }
.tarjeta-marca { font-size: 1.1rem; font-weight: 800; color: var(--azul); letter-spacing: -0.01em; margin-bottom: 0.15rem; }
.cat-premium   { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.cat-calidad   { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.cat-economica { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.18rem 0.55rem; border-radius: 9999px; }
.tag-verano      { background: #fff8e1; color: #b45309; border: 1px solid #fde68a; }
.tag-invierno    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.tag-todo_tiempo { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.tag-indice      { background: var(--bg-soft); color: var(--azul-medio); border: 1px solid var(--azul-claro); }
.mejor-badge { display: inline-flex; align-items: center; gap: 0.3rem; background: var(--verde-bg); border: 1px solid #b3f0d8; border-radius: 9999px; padding: 0.15rem 0.6rem; font-size: 0.65rem; font-weight: 700; color: var(--verde); margin-bottom: 0.3rem; }
.eu-badges { display: flex; gap: 0.3rem; }
.eu-badge { width: 24px; height: 24px; border-radius: 4px; font-size: 0.68rem; font-weight: 800; display: flex; align-items: center; justify-content: center; color: #fff; }
.eu-label { font-size: 0.5rem; color: var(--gris); text-transform: uppercase; margin-top: 1px; }
.eu-a { background: #166534; }
.eu-b { background: #15803d; }
.eu-c { background: #4d7c0f; }
.eu-d { background: #a16207; }
.eu-e { background: #c2410c; }
.eu-f { background: #b91c1c; }
.eu-g { background: #7f1d1d; }
.filtro-grupo { margin-bottom: 1.2rem; }
.filtro-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--azul-medio); margin-bottom: 0.5rem; display: block; }
.filtro-opciones { display: flex; flex-direction: column; gap: 0.3rem; }
.filtro-opcion { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.filtro-opcion span { font-size: 0.83rem; font-weight: 500; color: var(--gris); }
.filtro-opcion input[type="radio"] {
appearance: none; width: 15px; height: 15px;
border: 1.5px solid var(--gris-borde); border-radius: 50%;
cursor: pointer; flex-shrink: 0;
}
.filtro-opcion input[type="radio"]:checked {
border-color: var(--verde);
background: radial-gradient(circle, var(--verde) 4px, transparent 4px);
}
.filtro-opcion input:checked + span { color: var(--azul); font-weight: 600; }
.filtro-select {
appearance: none; width: 100%;
background: var(--bg-soft); border: 1.5px solid var(--gris-borde);
border-radius: var(--radio-md); color: var(--azul);
font-family: var(--fuente); font-size: 0.84rem; padding: 0.5rem 0.8rem; cursor: pointer;
}
.filtro-select:focus { outline: none; border-color: var(--azul); }
.filtro-select option { background: #fff; }
.orden-tabs { display: flex; gap: 0.4rem; margin-bottom: 1.2rem; }
.orden-tab {
font-size: 0.78rem; font-weight: 700; padding: 0.35rem 0.9rem;
border-radius: 9999px; border: 1.5px solid var(--gris-borde);
color: var(--gris); text-decoration: none; transition: all 0.2s;
}
.orden-tab:hover { border-color: var(--verde); color: var(--verde); }
.orden-tab.activo { background: var(--verde); border-color: var(--verde); color: #fff; }
.mini-select {
appearance: none; background: var(--bg-soft);
border: 1.5px solid var(--gris-borde); border-radius: var(--radio-md);
color: var(--azul); font-family: var(--fuente);
font-size: 0.9rem; font-weight: 700;
padding: 0.35rem 0.5rem; cursor: pointer; width: 68px; text-align: center;
}
.mini-select:focus { outline: none; border-color: var(--azul); }
.mini-select option { background: #fff; }
.mini-sep { font-size: 1rem; color: var(--gris-borde); }
.mini-busqueda { display: flex; align-items: center; gap: 0.4rem; }
.btn-aplicar {
width: 100%; background: var(--azul); color: #fff;
font-family: var(--fuente); font-size: 0.82rem; font-weight: 700;
border: none; border-radius: var(--radio-md); padding: 0.65rem;
cursor: pointer; margin-top: 1rem; transition: background 0.2s;
}
.btn-aplicar:hover { background: var(--azul-medio); }
.btn-limpiar {
display: block; text-align: center; font-size: 0.75rem;
color: var(--gris); text-decoration: none; margin-top: 0.4rem;
}
.btn-limpiar:hover { color: var(--azul); }
.btn-mini {
background: var(--verde); color: #fff;
font-family: var(--fuente); font-size: 0.82rem; font-weight: 700;
border: none; border-radius: var(--radio-md);
padding: 0.4rem 1rem; cursor: pointer; transition: background 0.2s;
}
.btn-mini:hover { background: var(--verde-btn); }
.btn-ver { display: inline-block; margin-top: 0.65rem; background: var(--verde); color: #fff; font-family: var(--fuente); font-size: 0.82rem; font-weight: 700; padding: 0.45rem 1rem; border-radius: var(--radio-md); text-decoration: none; white-space: nowrap; transition: background 0.2s; }
.btn-ver:hover { background: var(--verde-btn); }
.resultados-cabecera {
display: flex; align-items: baseline; justify-content: space-between;
margin-bottom: 1rem; flex-wrap: wrap; gap: 0.8rem;
}
.resultados-titulo { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; }
.resultados-meta { font-size: 0.8rem; color: var(--gris); }
.pag-btn { font-size: 0.8rem; font-weight: 600; padding: 0.4rem 0.85rem; border-radius: 9999px; border: 1.5px solid var(--gris-borde); color: var(--gris); text-decoration: none; transition: all 0.2s; }
.pag-btn:hover { border-color: var(--verde); color: var(--verde); }
.pag-btn.activo { background: var(--verde); border-color: var(--verde); color: #fff; cursor: default; }
.stat {
background: rgba(255,255,255,0.08);
border: 1px solid rgba(255,255,255,0.12);
border-radius: var(--radio-lg); padding: 0.7rem 1.1rem;
text-align: center; min-width: 90px;
}
.stat-label { font-size: 0.65rem; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.1rem; }
.stat-valor { font-size: 1.3rem; font-weight: 800; color: var(--verde-claro); letter-spacing: -0.02em; }
.precio-desde { background: var(--verde); border-radius: var(--radio-xl); padding: 1.2rem 1.5rem; text-align: center; flex-shrink: 0; }
.precio-desde-label { font-size: 0.68rem; font-weight: 700; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.precio-desde-valor { font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.precio-desde-sub { font-size: 0.68rem; color: rgba(255,255,255,0.6); margin-top: 0.2rem; }
.texto-seo h2 {
font-size: 1.1rem; font-weight: 800; color: var(--azul);
letter-spacing: -0.01em; margin-bottom: 0.8rem;
}
.texto-seo h3 {
font-size: 0.95rem; font-weight: 700; color: var(--azul);
margin: 1.2rem 0 0.5rem;
}
.texto-seo p {
font-size: 0.87rem; color: var(--gris); line-height: 1.75;
margin-bottom: 0.6rem;
}
.texto-seo strong { color: var(--azul); font-weight: 600; }
.texto-seo a { color: var(--verde); text-decoration: none; font-weight: 600; }
.texto-seo a:hover { text-decoration: underline; }
.cat-badge { display: inline-block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.15rem 0.45rem; border-radius: 9999px; margin-left: 0.3rem; vertical-align: middle; }
.paginacion { display: flex; justify-content: center; gap: 0.4rem; margin-top: 2rem; flex-wrap: wrap; }
.texto-seo { background: var(--bg-card); border: 1px solid var(--gris-suave); border-radius: var(--radio-xl); padding: 2rem; margin-top: 2rem; box-shadow: var(--sombra); }

/* ── 17. RESPONSIVE (max-width: 800px) ────────────────────────── */
@media (max-width: 800px) {

    /* Header: reduce tamaños para que quepan en viewports ~390px */
    .cabecera { padding: 0 1rem; gap: 0.5rem; }
    .logo { font-size: 1.05rem; }
    .btn-comparar { font-size: 0.72rem; padding: 0.4rem 0.7rem; }

    /* Layout artículo: columna única */
    .articulo { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 1rem 3rem; }
    .sidebar { position: static; }

    /* Tipografía: mínimos WCAG en móvil */
    .contenido p { font-size: 1rem; line-height: 1.7; }
    .contenido li { font-size: 1rem; }
    .contenido .intro { font-size: 1.05rem; }
    .contenido h3 { font-size: 1.05rem; }

    /* Cards de medida */
    .medidas-cards { grid-template-columns: 1fr; }
    .medida-card { padding: 1.3rem; }
    .medida-card-titulo { font-size: 0.75rem; }
    .medida-card-medida { font-size: 1.6rem; }
    .medida-card-versiones { font-size: 0.9rem; }
    .medida-card-precio { font-size: 0.9rem; }
    .medida-card-btn { font-size: 0.9rem; padding: 0.75rem; }

    /* FAQ */
    .faq-pregunta { font-size: 1rem; padding: 1.1rem 1.2rem; }
    .faq-respuesta { font-size: 0.95rem; line-height: 1.7; }

    /* Callout y CTA */
    .dato p { font-size: 0.95rem; }
    .cta-bloque h3 { font-size: 1.25rem; }
    .cta-bloque p { font-size: 0.95rem; }
    .cta-btn { font-size: 0.95rem; padding: 0.75rem 1.5rem; }

    /* Tabla: contenida + ocultar columnas secundarias (Año y Llanta)
       para que quepa sin desbordamiento en ~390px */
    .tabla-wrapper { margin-left: 0; margin-right: 0; }
    table { font-size: 0.9rem; }
    thead th { font-size: 0.8rem; padding: 0.7rem 0.9rem; }
    tbody td { padding: 0.7rem 0.9rem; }
    .btn-tabla { font-size: 0.82rem; padding: 0.35rem 0.85rem; }
    table th:nth-child(2), table td:nth-child(2),
    table th:nth-child(4), table td:nth-child(4) { display: none; }

    /* Sidebar */
    .sidebar-titulo { font-size: 0.78rem; }
    .toc-lista a { font-size: 0.95rem; }
    .medida-link span:first-child { font-size: 0.95rem; }
    .medida-link span:last-child { font-size: 0.8rem; }
    .guia-link-titulo { font-size: 0.95rem; }
    .guia-link-desc { font-size: 0.88rem; }

    /* Footer */
    .pie { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
    .pie-aviso { text-align: left; font-size: 0.9rem; }
    .pie-enlaces a { font-size: 0.9rem; }
}
