Panel Alexamigo
← Memory

loafa.md

# LOAFA — Grupo LOAFA S.L.

## Empresa
- **Web**: `https://grupoloafa.com/`
- **Razon social**: Grupo LOAFA S.L.
- **Ubicacion**: Av. Ca n'Amat, 12, 08630 Abrera, Barcelona
- **Telefono**: +34 937745066
- **Core**: Soluciones integrales metalurgicas — diseno, fabricacion, montaje, puesta en marcha, mantenimiento
- **NO ofrece**: Mantenimiento electrico, instalaciones electricas. Solo mecanico/metalurgico.
- **Certificaciones**: EN 1090 EXC3, ITCS

## Proyecto KWR (encargo NAL3)
- **Agencia**: NAL3 (Marc Marti, Helena Linan)
- **Presupuesto**: 460 EUR + IVA | **NDA**: Firmado

### Estado (09/04/2026) — ENTREGADO
- **20 URLs**, **215+ keywords**, **~18,120 vol/mes**, **3 dimensiones**
- D1 Servicios: 12 URLs | D2 Sectores: 4 URLs | D3 Perfiles: 4 URLs
- Competidores: 10 (Ahrefs) + 7 (SEMrush Gap Analysis)
- Gap Analysis: 44 KWs (25 alta, 19 media)
- D4 Soluciones (TOFU/MOFU) — PENDIENTE fase posterior

## URLs y Accesos

### Web interactiva (VPS Hetzner)
- **Dashboard**: `https://nal3.alexamigo.com/` (tarjetas de clientes)
- **LOAFA tool**: `https://nal3.alexamigo.com/loafa.com/`
- **Landings**: `https://nal3.alexamigo.com/loafa.com/servicios/mantenimiento-industrial/` etc.
- **Auth**: `nal3` / `nal32026`
- **htpasswd**: `/etc/nginx/.htpasswd_nal3`
- **Nginx config**: `/etc/nginx/sites-enabled/nal3-alexamigo`
- **VPS root nginx**: `/home/ubuntu/proyectos-cloud/NAL3/site`

### Estructura VPS
```
/home/ubuntu/proyectos-cloud/NAL3/
├── site/                          ← nginx root
│   ├── index.html                 ← dashboard (hub-style, azul)
│   └── loafa.com/                 ← proyecto LOAFA
│       ├── index.html             ← web interactiva KWR
│       ├── descargas/
│       │   ├── LOAFA_KW_Research.xlsx
│       │   ├── Notas_Entrega_LOAFA.docx
│       │   └── LOAFA_Site.zip
│       ├── servicios/             ← 12 landing previews
│       ├── sectores/              ← 4 landing previews
│       └── profesional/           ← 4 landing previews
└── LOAFA/                         ← scripts y datos originales
    ├── site/                      ← source (local sync)
    ├── generate_excel.py
    ├── generate_word.py
    └── *.py, *.json               ← scripts SEMrush/Ahrefs/etc
```

### Paths locales
| Archivo | Path |
|---------|------|
| Source completo | `C:\Users\alexa\Desktop\PROYECTOS\NAL3\LOAFA\` |
| index.html (source of truth) | `PROYECTOS\NAL3\LOAFA\site\index.html` |
| generate_excel.py | `PROYECTOS\NAL3\LOAFA\generate_excel.py` |
| generate_word.py | `PROYECTOS\NAL3\LOAFA\generate_word.py` |
| Dashboard | `PROYECTOS\NAL3\dashboard.html` |
| Excel v5 | `PROYECTOS\NAL3\LOAFA\LOAFA_KW_Research_v5.xlsx` |
| Excel v4 (old, para notas SERP) | `PROYECTOS\NAL3\LOAFA\LOAFA_KW_Research_v4.xlsx` |
| Carpeta entrega | `C:\Users\alexa\Desktop\Entrega-NAL3\` |

## Scripts de generacion (local: `PROYECTOS\NAL3\LOAFA\`)

| Script | Que hace | Como ejecutar |
|--------|----------|---------------|
| `generate_excel.py` | Excel v5 desde KW object del index.html. 5 pestanas. Preserva notas SERP del v4 | `python generate_excel.py` |
| `generate_word.py` | Word de entrega (herramientas, metodologia, credenciales) | `python generate_word.py` |
| `gen_index_v4.py` | Genera index.html v4 (VPS) | `python3 gen_index_v4.py` |
| `seeds_check.py` | Verifica seeds briefing via SEMrush | `python seeds_check.py` |
| `gap_analysis.py` | Gap analysis 7 competidores SEMrush | `python gap_analysis.py` |
| `ahrefs_competitors.py` | Metricas Ahrefs 10 competidores | `python ahrefs_competitors.py` |

### generate_excel.py — notas importantes
- Lee KW object de `site/index.html` linea 310 (`var KW = {...}`)
- Preserva notas SERP del v4 Excel (match por keyword lowercase)
- Output: `LOAFA_KW_Research_v5.xlsx` + copia a `Entrega-NAL3/`
- Paleta: Navy (#1B2A4A), Blue (#2563EB), Green, Amber, Red, Grays
- Headers columna: fondo azul (#2563EB), texto blanco
- H1/H2/FAQ/SEO LOCAL: labels reales del KW object (no genericos)
- Bordes thin en todas las celdas, medium en headers
- Vol/KD/Uso centrados
- Filas H2: altura 18px, sin wrap (ALIGN_LEFT_NOWRAP)
- Separador oscuro (#4B5563) entre bloques de URLs

### generate_word.py — credenciales en el doc
- URL: `https://nal3.alexamigo.com`
- User: `nal3` / Pass: `nal32026`
- Output directo a `C:\Users\alexa\Desktop\Entrega-NAL3\Notas_Entrega_LOAFA.docx`

## Workflow para actualizar entregables
1. Editar KW object en `site/index.html` linea 310
2. `python generate_excel.py` (regenera Excel + copia a Entrega-NAL3)
3. `python generate_word.py` (regenera Word en Entrega-NAL3)
4. `scp site/index.html ubuntu@204.168.170.41:/home/ubuntu/proyectos-cloud/NAL3/site/loafa.com/index.html`
5. Si cambio Excel/Word: `scp` a `VPS:.../loafa.com/descargas/`
6. Si cambio site zip: `ssh VPS 'cd .../loafa.com && zip -r descargas/LOAFA_Site.zip servicios/ sectores/ profesional/ index.html -x "*.py" "*.js" "*.json" "*.txt"'`

## Dashboard (`nal3.alexamigo.com/`)
- Diseño estilo hub.beepeek.com pero en azul
- Fonts: Space Grotesk + Outfit
- Efectos: aurora, mesh orbs, noise texture, spotlight mouse, glass cards con animated border
- Para anadir nuevo cliente: editar `PROYECTOS\NAL3\dashboard.html`, anadir card, scp a VPS `site/index.html`

## Reglas KWR
- Anti-canibalizacion: cada KW asignada a UNA sola URL
- H1 servicios SIEMPRE empieza con "Servicios de..."
- NO keywords electricas, geo incorrecta, software/plantillas, universitarias
- FAQ solo para preguntas reales
- Seeds "manutencion" no sirven para SEO — usar "mantenimiento"
- openpyxl: `PatternFill(patternType="solid", fgColor="HEX")`, usar `from copy import copy`

## Arquitectura Web (4D NAL3)
- **D1 Servicios** (12 URLs): /servicios/mantenimiento-industrial/, .../preventivo/, .../correctivo/, .../paradas-tecnicas/, .../overhaul/, /servicios/fabricacion/, .../caldereria-industrial/, .../estructura-metalica/, .../mecanizados/, .../cerrajeria-industrial/, /servicios/proyectos-llave-en-mano/, /servicios/ingenieria-industrial/
- **D2 Sectores** (4 URLs): /sectores/automocion/, .../ferroviario/, .../alimentacion/, .../logistica-intralogistica/
- **D3 Perfiles** (4 URLs): /profesional/responsables-mantenimiento/, .../directores-produccion/, .../ingenieria-oficina-tecnica/, .../gerencia/
- **D4 Soluciones** (PENDIENTE): /soluciones/, /casos-de-exito/, /blog/

## Competidores Ahrefs (abr 2026)
| Dominio | DR | KWs | Trafico | Valor |
|---------|-----|-----|---------|-------|
| eulen.com | 58 | 2006 | 19,966 | 682K |
| dominion-global.com | 52 | 74 | 1,132 | 48K |
| aldakin.com | 23 | 18 | 335 | 7.6K |
| cimelsa.com | 12 | 23 | 233 | 13.6K |
| gurpea.com | 12 | 13 | 403 | 7K |
| bama.es | 7 | 117 | 460 | 18.5K |
| gilabertmiro.com | 4.4 | 91 | 269 | 31.3K |
| arribasmantenimiento.es | 4 | 18 | 33 | 1.9K |
| **grupoloafa.com** | **0.2** | **2** | **3** | **0** |

## Content Gap (44 KWs)
- 25 relevancia alta (4,500 vol) + 19 media (1,510 vol)
- Fuente: SEMrush domain_organic de 7 competidores
- Filtradas: marcas, geos no-BCN, empleo, software