diff --git a/wp-content/themes/apus-theme/assets/css/cta.css b/wp-content/themes/apus-theme/assets/css/cta.css index 5e233781..f7222b14 100644 --- a/wp-content/themes/apus-theme/assets/css/cta.css +++ b/wp-content/themes/apus-theme/assets/css/cta.css @@ -12,16 +12,17 @@ CTA SECTION BASE ========================================================================= */ -.apus-cta-wrapper { - background: linear-gradient(135deg, #FF8600 0%, #FFB800 100%); +.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: 0.5rem; + border-radius: 12px; + padding: 2rem; transition: all 0.3s ease; position: relative; overflow: hidden; } -.apus-cta-wrapper::before { +.cta-section::before { content: ''; position: absolute; top: 0; @@ -32,7 +33,7 @@ pointer-events: none; } -.apus-cta-wrapper:hover { +.cta-section:hover { box-shadow: 0 12px 32px rgba(255, 133, 0, 0.4); transform: translateY(-2px); } @@ -42,15 +43,16 @@ ========================================================================= */ .cta-section h3 { + color: #ffffff !important; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); font-size: 1.5rem; margin-bottom: 0.5rem; } .cta-section p { + color: rgba(255, 255, 255, 0.95) !important; font-size: 1rem; line-height: 1.6; - opacity: 0.95; } /* ============================================================================ @@ -58,25 +60,26 @@ ========================================================================= */ .cta-button { - transition: all 0.3s ease; + background-color: var(--color-orange-primary) !important; + color: #ffffff !important; font-weight: 600; - padding: 0.75rem 1.5rem; - border-radius: 0.375rem; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); + padding: 0.75rem 2rem; + border: none; + border-radius: 8px; + transition: all 0.3s ease; + text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; - background-color: #ffffff !important; - color: #FF8600 !important; - border: none; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); } .cta-button:hover { + background-color: var(--color-orange-hover) !important; + color: #ffffff !important; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); - background-color: #f8f9fa !important; - color: #FF8600 !important; } .cta-button:active { @@ -117,7 +120,7 @@ ========================================================================= */ @media (max-width: 767.98px) { - .apus-cta-wrapper { + .cta-section { padding: 1.5rem !important; } @@ -139,7 +142,7 @@ } /* Stack vertical en mobile */ - .apus-cta-wrapper .col-md-4 { + .cta-section .col-md-4 { margin-top: 1rem !important; } } @@ -188,13 +191,13 @@ /* Mejoras de accesibilidad para usuarios con motion reducido */ @media (prefers-reduced-motion: reduce) { - .apus-cta-wrapper, + .cta-section, .cta-button, .cta-button i { transition: none; } - .apus-cta-wrapper:hover { + .cta-section:hover { transform: none; } @@ -209,7 +212,7 @@ /* Alto contraste para usuarios con necesidades especiales */ @media (prefers-contrast: high) { - .apus-cta-wrapper { + .cta-section { border: 2px solid #FF8600; } @@ -224,7 +227,7 @@ @media (prefers-color-scheme: dark) { /* Los colores del CTA se mantienen igual para visibilidad */ - .apus-cta-wrapper { + .cta-section { box-shadow: 0 8px 24px rgba(255, 133, 0, 0.4); } } @@ -234,7 +237,7 @@ ========================================================================= */ @media print { - .apus-cta-wrapper { + .cta-section { background: #fff; border: 2px solid #FF8600; box-shadow: none; @@ -262,16 +265,16 @@ LOADING STATE (opcional para futuras mejoras) ========================================================================= */ -.apus-cta-wrapper.is-loading { +.cta-section.is-loading { opacity: 0.6; pointer-events: none; } -.apus-cta-wrapper.is-loading .cta-button { +.cta-section.is-loading .cta-button { position: relative; } -.apus-cta-wrapper.is-loading .cta-button::after { +.cta-section.is-loading .cta-button::after { content: ''; position: absolute; width: 16px; @@ -295,7 +298,7 @@ ANIMATION ENTRANCE (opcional) ========================================================================= */ -.apus-cta-wrapper.fade-in-up { +.cta-section.fade-in-up { animation: fadeInUp 0.6s ease-out; }