/* ===== DISEÑO SIMPLE - TODO BLANCO CON TEXTO NEGRO ===== */

/* ============================================
   1. RESET Y CONFIGURACIÓN BASE
   ============================================ */

* {
    background-image: none !important;
    background-attachment: scroll !important;
}

/* Scrollbar simple */
::-webkit-scrollbar {
    width: 8px !important;
}

::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

::-webkit-scrollbar-thumb {
    background: #888 !important;
    border-radius: 4px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}

/* HTML y BODY */
html {
    overflow: visible !important;
    height: 100% !important;
    scroll-behavior: smooth !important;
}

body {
    background: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Inter', sans-serif !important;
}

/* ============================================
   2. TODAS LAS PÁGINAS Y SECCIONES - FONDO BLANCO
   ============================================ */

.page-home,
.page-services,
.page-portfolio,
.page-about,
.page-contact {
    background: #ffffff !important;
    background-image: none !important;
}

/* Eliminar pseudo-elementos */
.page-home::before,
.page-services::before,
.page-portfolio::before,
.page-about::before,
.page-contact::before {
    display: none !important;
}

/* TODAS LAS SECCIONES - FONDO BLANCO UNIFORME */
.hero,
.section-padding,
.bg-light,
.stats-section,
.testimonials-section,
.cta-section {
    background: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
    padding: 4rem 0 !important;
}

.hero {
    padding: 8rem 0 6rem 0 !important;
    min-height: 80vh !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px solid #e5e7eb !important;
}

/* Separadores sutiles entre secciones */
.stats-section {
    border-top: 1px solid #f1f1f1 !important;
    border-bottom: 1px solid #f1f1f1 !important;
}

.cta-section {
    border-top: 1px solid #f1f1f1 !important;
}

/* ============================================
   3. TEXTOS - NEGRO SIMPLE Y LEGIBLE
   ============================================ */

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    color: #000000 !important;
    text-shadow: none !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

/* Párrafos y texto general */
p, li, span:not(.btn-text):not(.btn-icon) {
    color: #333333 !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

/* Texto secundario */
.text-muted {
    color: #666666 !important;
}

/* Eliminar gradientes de texto */
.text-gradient {
    color: #3b82f6 !important;
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: unset !important;
    font-weight: 700 !important;
}

.text-highlight {
    color: #000000 !important;
    background: none !important;
    font-weight: 800 !important;
}

/* Section badges */
.section-badge {
    background: #3b82f6 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 25px !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* ============================================
   4. HERO SECTION - LIMPIO Y SIMPLE
   ============================================ */

/* Eliminar todos los efectos del hero */
.accordion-container,
.accordion-strip,
.strip-bg,
.strip-overlay,
.pulse-ring,
.floating-particles,
.particle,
.hero-background,
.hero-overlay,
.dynamic-particles-container,
.mouse-glow,
.energy-waves-bg,
.energy-wave {
    display: none !important;
}

.hero-content {
    position: relative !important;
    z-index: 10 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.hero-content h1 {
    color: #000000 !important;
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.hero-content .subtitle {
    color: #333333 !important;
    font-size: 1.25rem !important;
    margin-bottom: 2.5rem !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.hero-cta {
    display: flex !important;
    gap: 1.5rem !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin-top: 2rem !important;
}

/* ============================================
   5. CARDS Y ELEMENTOS
   ============================================ */

.card {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    transform: none !important;
    perspective: none !important;
    transform-style: flat !important;
}

.card h3 {
    color: #000000 !important;
    font-weight: 700 !important;
}

.card p {
    color: #333333 !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.card-link {
    color: #3b82f6 !important;
    font-weight: 600 !important;
}

.card-link:hover {
    color: #2563eb !important;
}

/* Stats cards */
.stat-item {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    text-align: center !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.stat-number {
    color: #3b82f6 !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    display: block !important;
}

.stat-label {
    color: #000000 !important;
    font-weight: 600 !important;
    margin: 0.5rem 0 !important;
}

.stat-description {
    color: #666666 !important;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
}

/* Testimonial cards */
.testimonial-card {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.testimonial-card h3,
.testimonial-card h4 {
    color: #000000 !important;
    font-weight: 700 !important;
}

.testimonial-card p {
    color: #333333 !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.testimonial-content p {
    color: #444444 !important;
    font-size: 1.1rem !important;
    font-style: italic !important;
    margin-bottom: 1.5rem !important;
}

.author-info h4 {
    color: #000000 !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
}

.author-info p {
    color: #666666 !important;
    font-weight: 400 !important;
    margin: 0 !important;
}

/* ============================================
   6. BOTONES - SIMPLE Y LIMPIO
   ============================================ */

.btn {
    background: #3b82f6 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 2px solid #3b82f6 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.2s ease !important;
}

.btn:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.25) !important;
}

.btn-secondary {
    background: transparent !important;
    color: #3b82f6 !important;
    border: 2px solid #3b82f6 !important;
}

.btn-secondary:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.btn-secondary-outline {
    background: transparent !important;
    color: #3b82f6 !important;
    border: 2px solid #3b82f6 !important;
}

.btn-secondary-outline:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

/* ============================================
   7. HEADER Y FOOTER
   ============================================ */

.main-header {
    background: #ffffff !important;
    background-image: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    color: #000000 !important;
}

.main-footer {
    background: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
    border-top: 1px solid #e5e7eb !important;
    padding: 2rem 0 !important;
}

.main-footer p {
    color: #333333 !important;
    font-weight: 400 !important;
}

.footer-links a {
    color: #3b82f6 !important;
    font-weight: 500 !important;
}

.footer-links a:hover {
    color: #2563eb !important;
}

/* ============================================
   8. LOGO Y NAVEGACIÓN
   ============================================ */

.logo-text {
    color: #3b82f6 !important;
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: unset !important;
}

.logo-img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.main-nav ul li a {
    color: #000000 !important;
    font-weight: 500 !important;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #3b82f6 !important;
}

/* ============================================
   9. IMÁGENES - ESTABLES Y FIJAS
   ============================================ */

img {
    display: block !important;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    position: static !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
    perspective: none !important;
    animation: none !important;
}

.card-img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px 8px 0 0 !important;
}

.portfolio-item img,
.portfolio-item-teaser img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: center !important;
    position: static !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #f3f4f6 !important;
}

.portfolio-item-teaser {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
}

.portfolio-overlay {
    background: rgba(0, 0, 0, 0.8) !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 1rem !important;
    color: #ffffff !important;
    border-radius: 0 0 12px 12px !important;
}

.portfolio-overlay h3 {
    color: #ffffff !important;
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

/* Eliminar efectos hover problemáticos */
.portfolio-item-teaser:hover img,
.portfolio-item:hover img,
.card:hover img {
    transform: none !important;
    scale: none !important;
    filter: none !important;
    opacity: 1 !important;
}

/* ============================================
   10. FORMULARIOS
   ============================================ */

.contact-form {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.form-group label {
    color: #000000 !important;
    font-weight: 600 !important;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: #ffffff !important;
    border: 2px solid #e5e7eb !important;
    color: #000000 !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.contact-info {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 2rem !important;
}

.contact-method {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
}

/* ============================================
   11. PÁGINA HEADERS
   ============================================ */

.page-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 4rem 0 !important;
    text-align: center !important;
}

.page-header h1 {
    color: #000000 !important;
    font-weight: 700 !important;
}

.page-header p {
    color: #333333 !important;
    font-weight: 400 !important;
}

/* ============================================
   12. OTROS ELEMENTOS
   ============================================ */

.service-item {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

/* CTA guarantee */
.cta-guarantee {
    background: #f8fafc !important;
    color: #333333 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 1rem 1.5rem !important;
    font-size: 0.9rem !important;
}

/* Modern badges */
.modern-badge {
    background: #f8fafc !important;
    color: #3b82f6 !important;
    border: 1px solid #e5e7eb !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 15px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

/* ============================================
   13. DESACTIVAR EFECTOS PROBLEMÁTICOS
   ============================================ */

.parallax-element,
[data-speed] {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Eliminar elementos de partículas */
.dynamic-particles-container,
.mouse-glow,
.energy-waves-bg,
.floating-particles {
    display: none !important;
}

/* ============================================
   14. RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem 0 !important;
        min-height: 60vh !important;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-content .subtitle {
        font-size: 1.1rem !important;
    }

    .hero-cta {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .portfolio-grid-teaser {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .card-grid-3 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem !important;
    }

    .section-padding,
    .stats-section,
    .testimonials-section,
    .cta-section {
        padding: 3rem 0 !important;
    }

    .contact-form,
    .contact-info {
        padding: 1.5rem !important;
    }
}