Files
roi-theme/wp-content
FrankZamora 67eab9a0ea Fix CTA: SIMPLIFICAR CSS copiando EXACTO del template - Issue #126
PROBLEMA:
Después de múltiples intentos, el CTA seguía viéndose diferente.
El CSS tenía demasiadas reglas extras que causaban conflictos.

SOLUCIÓN DEFINITIVA:
REEMPLAZAR COMPLETAMENTE cta.css con SOLO las reglas del template.

CAMBIOS:

1. cta.css - SIMPLIFICADO (329 líneas → 54 líneas)
   ANTES: 329 líneas con:
   - !important extras
   - Media queries complicadas
   - Reglas de accessibility
   - Dark mode support
   - Print styles
   - Animaciones
   - Loading states

   DESPUÉS: 54 líneas con SOLO:
   - .cta-section (4 reglas básicas)
   - .cta-section h3 (1 regla)
   - .cta-section p (1 regla)
   - .cta-button (8 reglas básicas)
   - .cta-button:hover (2 reglas)
   - Media query mobile (3 reglas)

2. functions.php - Version bump
   - 1.0.1 → 1.0.2 para forzar recarga de CSS

CSS EXACTO COPIADO DEL TEMPLATE:
```css
.cta-section {
    background: linear-gradient(135deg, var(--color-orange-primary) 0%, var(--color-orange-light) 100%);
    box-shadow: 0 8px 24px rgba(255, 133, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
}

.cta-section h3 {
    color: #ffffff !important;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95) !important;
}

.cta-button {
    background-color: var(--color-orange-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--color-orange-hover);
    color: #ffffff;
}
```

RESULTADO:
- CSS 100% igual al template
- Sin extras ni sobrescrituras complicadas
- Bootstrap classes funcionarán normalmente
- Hard refresh (Ctrl+F5) con ?ver=1.0.2

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 16:03:15 -06:00
..