﻿
/* ===================
   HERO SECTION BENEFICIOS
=================== */
.benefits-hero-section {
    min-height: 70vh;
    background: var(--dark-bg);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg-benefits {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 40% 30%, rgba(16, 185, 129, 0.2) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.15) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: benefitsBackgroundMove 30s ease-in-out infinite;
}

@keyframes benefitsBackgroundMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(25px, -15px) rotate(0.3deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-0.3deg);
    }
}

.hero-content-benefits {
    z-index: 10;
    position: relative;
}

.benefits-hero-section .badge {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Estadísticas del hero */
.hero-stats-benefits {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-medium);
    margin-top: 2rem;
}

.stat-item-benefit {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

    .stat-item-benefit:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-5px);
    }

    .stat-item-benefit .stat-number {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--primary-color);
        display: block;
        line-height: 1.2;
        text-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
    }

    .stat-item-benefit .stat-label {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 600;
        margin-top: 0.5rem;
    }

/* ===================
   NAVEGACIÓN DE BENEFICIOS
=================== */
.benefits-navigation {
    background: var(--darker-bg) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 76px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.benefit-nav-pills .nav-pills {
    --bs-nav-pills-border-radius: 0;
    --bs-nav-pills-link-active-color: #ffffff;
    --bs-nav-pills-link-active-bg: var(--primary-color);
    gap: 0.5rem;
}

.benefit-nav-pills .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem !important;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    white-space: nowrap;
}

    .benefit-nav-pills .nav-link:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    .benefit-nav-pills .nav-link.active {
        background: var(--gradient-primary) !important;
        border-color: var(--primary-color);
        color: #ffffff !important;
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    }

    .benefit-nav-pills .nav-link i {
        font-size: 0.9rem;
    }

/* ===================
   CONTENIDO DE BENEFICIOS
=================== */
.benefits-content {
    background: var(--dark-bg) !important;
}

/* ===================
   CALCULADORA ECONÓMICA
=================== */
.economic-calculator {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

    .economic-calculator h4 {
        color: #ffffff;
        font-weight: 700;
        margin-bottom: 2rem;
        position: relative;
    }

        .economic-calculator h4::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

.calculator-form .form-group {
    margin-bottom: 1.5rem;
}

.calculator-form .form-label {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.calculator-form .form-range {
    background: transparent;
    height: 8px;
    margin-bottom: 0.5rem;
}

    .calculator-form .form-range::-webkit-slider-track {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        height: 8px;
        border: none;
    }

    .calculator-form .form-range::-webkit-slider-thumb {
        appearance: none;
        background: var(--primary-color);
        border-radius: 50%;
        border: none;
        height: 20px;
        width: 20px;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
        transition: all var(--transition-fast);
    }

        .calculator-form .form-range::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 6px 15px rgba(99, 102, 241, 0.6);
        }

.calculator-results {
    margin-top: 2rem;
}

.result-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

    .result-card h6 {
        color: #ffffff;
        font-weight: 700;
        text-align: center;
        margin-bottom: 1.5rem;
    }

.result-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .result-item:last-child {
        border-bottom: none;
    }

    .result-item.total {
        background: rgba(99, 102, 241, 0.1);
        margin: 0 -1.5rem;
        padding: 1rem 1.5rem;
        border-radius: 0.75rem;
        border: 1px solid rgba(99, 102, 241, 0.3);
        border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    }

.result-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.result-value {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===================
   SHOWCASE DE BENEFICIOS ECONÓMICOS
=================== */
.economic-benefits-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .benefit-card:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateX(10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .benefit-card.economic {
        border-left: 4px solid #10b981;
    }

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.benefit-content h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.benefit-stats {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-before {
    color: #ef4444;
    font-weight: 600;
    text-decoration: line-through;
    opacity: 0.7;
}

.stat-after {
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===================
   CASO DE ÉXITO
=================== */
.success-case {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

    .success-case::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
        border-radius: 1.5rem 1.5rem 0 0;
    }

.case-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .case-header h3 {
        color: #ffffff;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

.case-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.case-metric {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

    .case-metric:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-5px);
    }

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.metric-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
}

.case-testimonial {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    position: relative;
}

    .case-testimonial::before {
        content: '"';
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 4rem;
        color: var(--primary-color);
        font-family: serif;
        line-height: 1;
    }

    .case-testimonial blockquote {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        font-style: italic;
    }

    .case-testimonial cite {
        color: var(--primary-color);
        font-weight: 600;
        font-style: normal;
    }

/* ===================
   COMPARACIÓN DE PROCESOS
=================== */
.process-comparison {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

    .process-comparison h5 {
        color: #ffffff;
        font-weight: 700;
        text-align: center;
        position: relative;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }

        .process-comparison h5::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

.process-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

    .process-item:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateY(-2px);
    }

    .process-item h6 {
        color: #ffffff;
        font-weight: 700;
        margin-bottom: 1rem;
    }

.process-before-after {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.process-before,
.process-after {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
}

.process-before {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.process-after {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.process-before .label {
    color: #ef4444;
    font-weight: 700;
    min-width: 60px;
}

.process-after .label {
    color: #10b981;
    font-weight: 700;
    min-width: 60px;
}

.process-before .description,
.process-after .description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    flex: 1;
}

/* ===================
   FLUJO DE TRABAJO OPERATIVO
=================== */
.operational-workflow {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

    .operational-workflow h5 {
        color: #ffffff;
        font-weight: 700;
        position: relative;
        padding-bottom: 1rem;
    }

        .operational-workflow h5::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

    .workflow-step:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateX(10px);
    }

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
}

.step-content {
    flex: 1;
}

    .step-content h6 {
        color: #ffffff;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .step-content p {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }

.step-time {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.workflow-arrow {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

/* ===================
   MÉTRICAS OPERATIVAS
=================== */
.operational-metrics {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    backdrop-filter: blur(15px);
}

    .operational-metrics h3 {
        color: #ffffff;
        font-weight: 700;
        position: relative;
        padding-bottom: 1rem;
    }

        .operational-metrics h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

.metric-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

    .metric-card:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
    }

.metric-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.metric-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* ===================
   VENTAJAS COMERCIALES
=================== */
.commercial-advantages {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .advantage-item:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateX(10px);
    }

    .advantage-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: var(--gradient-primary);
    }

.advantage-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.advantage-content h6 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.advantage-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.advantage-impact {
    background: rgba(16, 185, 129, 0.1);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.impact-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.impact-value {
    color: #10b981;
    font-weight: 800;
    font-size: 1.1rem;
}

/* ===================
   EMBUDO DE CONVERSIÓN
=================== */
.conversion-funnel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

    .conversion-funnel h5 {
        color: #ffffff;
        font-weight: 700;
        position: relative;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }

        .conversion-funnel h5::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

.funnel-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.funnel-side h6 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.funnel-step {
    margin-bottom: 1rem;
    position: relative;
}

.step-bar {
    height: 50px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .step-bar.traditional {
        background: linear-gradient(90deg, #ef4444, #dc2626);
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    }

    .step-bar.improved {
        background: linear-gradient(90deg, #10b981, #059669);
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }

.funnel-vs {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.funnel-results {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
}

.result-improvement h6 {
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.improvement-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    flex-wrap: wrap;
}

.improvement-stat {
    text-align: center;
}

    .improvement-stat .stat-label {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .improvement-stat .stat-value {
        color: #10b981;
        font-size: 1.5rem;
        font-weight: 800;
    }

/* ===================
   TESTIMONIOS DE CLIENTES
=================== */
.client-testimonials {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    backdrop-filter: blur(15px);
}

    .client-testimonials h3 {
        color: #ffffff;
        font-weight: 700;
        position: relative;
        padding-bottom: 1rem;
    }

        .client-testimonials h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .testimonial-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .testimonial-card:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

        .testimonial-card:hover::before {
            transform: scaleX(1);
        }

.testimonial-content {
    margin-bottom: 1.5rem;
}

    .testimonial-content p {
        color: rgba(255, 255, 255, 0.9);
        font-style: italic;
        line-height: 1.7;
        font-size: 1rem;
        position: relative;
        padding: 0 1rem;
    }

        .testimonial-content p::before,
        .testimonial-content p::after {
            content: '"';
            color: var(--primary-color);
            font-size: 2rem;
            font-family: serif;
            position: absolute;
            top: -10px;
        }

        .testimonial-content p::before {
            left: -10px;
        }

        .testimonial-content p::after {
            right: -10px;
            bottom: -20px;
            top: auto;
        }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
}

.author-info h6 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: block;
}

.author-info .company {
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

    .testimonial-rating i {
        color: #fbbf24;
        font-size: 1rem;
    }

/* ===================
   VENTAJAS COMPETITIVAS
=================== */
.competitive-matrix {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

    .competitive-matrix h5 {
        color: #ffffff;
        font-weight: 700;
        text-align: center;
        position: relative;
        padding-bottom: 1rem;
    }

        .competitive-matrix h5::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

.matrix-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
}

.matrix-header,
.matrix-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.matrix-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.matrix-row {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

    .matrix-row:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateX(5px);
    }

.matrix-cell {
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .matrix-cell.negative {
        color: #ef4444;
    }

    .matrix-cell.positive {
        color: #10b981;
    }

.matrix-header .matrix-cell {
    justify-content: center;
    font-weight: 700;
}

/* ===================
   TARJETAS DE VENTAJA COMPETITIVA
=================== */
.competitive-advantages {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .advantage-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: var(--gradient-primary);
    }

    .advantage-card:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
    }

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.advantage-card h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.advantage-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.benefit-tag {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* ===================
   ROADMAP COMPETITIVO
=================== */
.competitive-roadmap {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    backdrop-filter: blur(15px);
}

    .competitive-roadmap h3 {
        color: #ffffff;
        font-weight: 700;
        position: relative;
        padding-bottom: 1rem;
    }

        .competitive-roadmap h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

.roadmap-timeline {
    position: relative;
    margin-top: 2rem;
}

    .roadmap-timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--gradient-primary);
        transform: translateX(-50%);
        border-radius: 2px;
    }

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }

.timeline-date {
    width: 120px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 2rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 2rem;
    margin: 0 2rem;
    transition: all 0.3s ease;
}

    .timeline-content:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: scale(1.02);
    }

    .timeline-content h6 {
        color: #ffffff;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

    .timeline-content p {
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        margin-bottom: 1rem;
    }

.timeline-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

    .timeline-metrics span {
        background: rgba(16, 185, 129, 0.2);
        color: #10b981;
        padding: 0.25rem 0.75rem;
        border-radius: 1rem;
        font-size: 0.8rem;
        font-weight: 600;
        border: 1px solid rgba(16, 185, 129, 0.3);
    }

/* ===================
   COMPARATIVA GLOBAL
=================== */
.global-comparison {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

    .global-comparison::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
        z-index: 1;
    }

    .global-comparison .container {
        position: relative;
        z-index: 2;
    }

    .global-comparison h2 {
        color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

.comparison-grid {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
    gap: 0;
    align-items: center;
}

.comparison-header {
    background: rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.comparison-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

    .comparison-row:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .comparison-row.highlight {
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

.comparison-cell {
    padding: 1rem;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

    .comparison-cell:last-child {
        border-right: none;
    }

.comparison-header .comparison-cell {
    font-weight: 700;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
}

.comparison-cell.traditional {
    background: rgba(239, 68, 68, 0.1);
    color: #ff6b6b;
}

.comparison-cell.modern {
    background: rgba(16, 185, 129, 0.1);
    color: #51cf66;
}

.comparison-cell.improvement {
    background: rgba(251, 191, 36, 0.1);
    color: #ffd43b;
    font-weight: 700;
}

/* ===================
   CTA FINAL CON GARANTÍA
=================== */
.guarantee-section {
    text-align: center;
    margin: 2rem 0;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

    .guarantee-badge i {
        font-size: 1.5rem;
    }

.guarantee-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.urgency-message {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

    .urgency-message p {
        color: #fbbf24;
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .urgency-message small {
        color: rgba(255, 255, 255, 0.8);
        font-style: italic;
    }

.social-proof {
    margin-top: 3rem;
}

.proof-item {
    text-align: center;
    padding: 1rem;
}

.proof-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.proof-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===================
   RESPONSIVE DESIGN
=================== */

/* Tablets */
@media (max-width: 992px) {
    .benefits-hero-section {
        min-height: 60vh;
        padding-top: 120px;
    }

    .hero-stats-benefits {
        padding: 1.5rem;
    }

    .stat-item-benefit .stat-number {
        font-size: 2rem;
    }

    .economic-calculator {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .benefit-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .process-before-after {
        gap: 0.5rem;
    }

    .workflow-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .funnel-comparison {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .funnel-vs {
        order: 2;
        margin: 1rem auto;
    }

    .matrix-header,
    .matrix-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column !important;
        text-align: center;
    }

    .timeline-content {
        margin: 1rem 0;
    }

    .roadmap-timeline::before {
        left: 20px;
        transform: none;
    }
}

/* Móviles */
@media (max-width: 768px) {
    .benefits-hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 2rem;
    }

        .benefits-hero-section h1 {
            font-size: 2.5rem;
            line-height: 1.2;
        }

    .benefits-navigation {
        position: static;
        padding: 1rem 0;
    }

    .benefit-nav-pills .nav-pills {
        flex-direction: column;
        gap: 0.75rem;
    }

    .benefit-nav-pills .nav-link {
        text-align: center;
        padding: 1rem;
        width: 100%;
    }

    .hero-stats-benefits .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 1rem;
    }

    .stat-item-benefit .stat-number {
        font-size: 1.75rem;
    }

    .economic-calculator {
        padding: 1.25rem;
    }

    .result-grid {
        gap: 0.75rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .case-metric {
        padding: 1.25rem 0.75rem;
        margin-bottom: 1rem;
    }

    .metric-number {
        font-size: 2rem;
    }

    .process-item {
        padding: 1.25rem;
    }

    .process-before,
    .process-after {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .workflow-step {
        padding: 1.25rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .metric-card {
        padding: 1.25rem 0.75rem;
        margin-bottom: 1.5rem;
    }

    .metric-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    .advantage-item {
        padding: 1.5rem;
    }

    .advantage-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .funnel-step {
        margin-bottom: 0.75rem;
    }

    .step-bar {
        height: 40px;
        font-size: 0.8rem;
        padding: 0 0.75rem;
    }

    .funnel-vs {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .improvement-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .matrix-table {
        gap: 0.25rem;
    }

    .matrix-header,
    .matrix-row {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .advantage-card {
        padding: 1.5rem;
    }

    .advantage-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-date {
        width: 100px;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .comparison-cell {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    .guarantee-badge {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .urgency-message {
        padding: 1.25rem;
    }

    .proof-number {
        font-size: 1.75rem;
    }

    .proof-label {
        font-size: 0.8rem;
    }
}

/* Móviles pequeños */
@media (max-width: 576px) {
    .benefits-hero-section h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-stats-benefits .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .benefit-nav-pills .nav-link {
        padding: 0.875rem;
        font-size: 0.9rem;
    }

    .economic-calculator,
    .success-case,
    .client-testimonials,
    .competitive-roadmap,
    .operational-metrics {
        padding: 1rem;
    }

    .comparison-grid {
        margin: 0 -0.5rem;
        border-radius: 0.5rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .roadmap-timeline::before {
        display: none;
    }

    .timeline-item {
        margin-bottom: 2rem;
    }

    .guarantee-badge {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
}

/* Scrollbar para navegación horizontal en móvil */
@media (max-width: 767px) {
    .benefit-nav-pills .nav-pills {
        overflow-x: auto;
        flex-direction: row;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) transparent;
    }

        .benefit-nav-pills .nav-pills::-webkit-scrollbar {
            height: 4px;
        }

        .benefit-nav-pills .nav-pills::-webkit-scrollbar-track {
            background: transparent;
        }

        .benefit-nav-pills .nav-pills::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 2px;
        }

    .benefit-nav-pills .nav-link {
        white-space: nowrap;
        min-width: fit-content;
    }
}

/* ===================
   ANIMACIONES ADICIONALES
=================== */
@keyframes counterUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.stat-item-benefit.animate,
.metric-number.animate,
.proof-number.animate {
    animation: counterUp 0.6s ease-out;
}

/* ===================
   MEJORAS DE ACCESIBILIDAD
=================== */
.benefit-nav-pills .nav-link:focus,
.btn:focus,
.form-range:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===================
   ESTADOS LOADING
=================== */
.loading-skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===================
   COMPARATIVA GLOBAL MEJORADA
=================== */

.global-comparison-improved {
    background: var(--dark-bg) !important;
    position: relative;
    overflow: hidden;
}

    /* Efecto de fondo sutil sin interferir con la legibilidad */
    .global-comparison-improved::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
        z-index: 1;
    }

    .global-comparison-improved .container {
        position: relative;
        z-index: 2;
    }

    /* ===================
   TÍTULO MEJORADO
=================== */

    .global-comparison-improved h2 {
        color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        font-weight: 800;
        position: relative;
    }

.gradient-text-improved {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
}

    /* Efecto de resplandor sutil */
    .gradient-text-improved::after {
        content: 'Presupuesta Reformas';
        position: absolute;
        top: 0;
        left: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: blur(8px);
        opacity: 0.3;
        z-index: -1;
    }

/* ===================
   TABLA DE COMPARACIÓN MODERNA
=================== */

.comparison-table-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
}

    /* Línea superior decorativa */
    .comparison-table-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981, #3b82f6);
        border-radius: 1.5rem 1.5rem 0 0;
    }

/* ===================
   HEADER DE LA TABLA
=================== */

.comparison-header-modern {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.2fr;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.header-cell {
    padding: 1.5rem 1rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

    .header-cell:last-child {
        border-right: none;
    }

    /* Colores específicos para cada header */
    .header-cell.aspect {
        background: rgba(99, 102, 241, 0.1);
        color: #ffffff;
        justify-content: flex-start;
        text-align: left;
    }

    .header-cell.traditional {
        background: rgba(239, 68, 68, 0.1);
        color: #ff9999;
    }

    .header-cell.modern {
        background: rgba(16, 185, 129, 0.1);
        color: #86efac;
    }

    .header-cell.improvement {
        background: rgba(251, 191, 36, 0.1);
        color: #fde047;
    }

/* ===================
   FILAS DE COMPARACIÓN
=================== */

.comparison-row-modern {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.2fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

    .comparison-row-modern:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: scale(1.01);
        box-shadow: 0 5px 15px rgba(99, 102, 241, 0.1);
    }

    /* Fila destacada */
    .comparison-row-modern.highlight {
        background: rgba(251, 191, 36, 0.08);
        border: 2px solid rgba(251, 191, 36, 0.3);
        border-left: none;
        border-right: none;
    }

        .comparison-row-modern.highlight:hover {
            background: rgba(251, 191, 36, 0.12);
            box-shadow: 0 8px 25px rgba(251, 191, 36, 0.2);
        }

/* ===================
   CELDAS DE LA TABLA
=================== */

.cell {
    padding: 1.5rem 1rem;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 500;
}

    .cell:last-child {
        border-right: none;
    }

    /* Celda de aspecto */
    .cell.aspect {
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.02);
    }

    /* Celda tradicional */
    .cell.traditional {
        background: rgba(239, 68, 68, 0.03);
    }

    /* Celda moderna */
    .cell.modern {
        background: rgba(16, 185, 129, 0.03);
    }

    /* Celda de mejora */
    .cell.improvement {
        background: rgba(251, 191, 36, 0.03);
    }

/* ===================
   VALORES Y BADGES
=================== */

.value-negative {
    color: #ff9999;
    font-weight: 700;
    font-size: 1rem;
}

.value-positive {
    color: #86efac;
    font-weight: 700;
    font-size: 1rem;
}

.cell small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
    font-style: italic;
}

/* ===================
   BADGES DE MEJORA
=================== */

.improvement-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    border: 1px solid rgba(245, 158, 11, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .improvement-badge::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s ease;
    }

    .improvement-badge:hover::before {
        left: 100%;
    }

    /* Variaciones del badge */
    .improvement-badge.mega {
        background: linear-gradient(135deg, #10b981, #059669);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        border-color: rgba(16, 185, 129, 0.4);
        font-size: 0.9rem;
        font-weight: 800;
    }

    .improvement-badge.revolutionary {
        background: linear-gradient(135deg, #8b5cf6, #7c3aed);
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
        border-color: rgba(139, 92, 246, 0.4);
    }

    .improvement-badge.perfect {
        background: linear-gradient(135deg, #06b6d4, #0891b2);
        box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
        border-color: rgba(6, 182, 212, 0.4);
    }

    .improvement-badge.always {
        background: linear-gradient(135deg, #f59e0b, #d97706);
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
        border-color: rgba(245, 158, 11, 0.4);
    }

    .improvement-badge.unified {
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        border-color: rgba(59, 130, 246, 0.4);
    }

    .improvement-badge.effortless {
        background: linear-gradient(135deg, #ec4899, #db2777);
        box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
        border-color: rgba(236, 72, 153, 0.4);
    }

    .improvement-badge.mega-highlight {
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
        border-color: rgba(251, 191, 36, 0.5);
        font-size: 1rem;
        font-weight: 800;
        animation: highlightPulse 3s ease-in-out infinite;
    }

@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(251, 191, 36, 0.6);
    }
}

/* ===================
   RESUMEN VISUAL
=================== */

.comparison-summary {
    margin-top: 3rem;
}

.summary-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .summary-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .summary-card.traditional-summary::before {
        background: linear-gradient(90deg, #ef4444, #dc2626);
    }

    .summary-card.modern-summary::before {
        background: linear-gradient(90deg, #10b981, #059669);
    }

    .summary-card.impact-summary::before {
        background: linear-gradient(90deg, #3b82f6, #2563eb);
    }

    .summary-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        background: rgba(255, 255, 255, 0.08);
    }

    /* Tarjeta destacada */
    .summary-card.featured {
        border: 2px solid rgba(16, 185, 129, 0.3);
        background: rgba(16, 185, 129, 0.05);
        position: relative;
    }

        .summary-card.featured .featured-badge {
            position: absolute;
            top: -12px;
            right: 20px;
            background: linear-gradient(135deg, #10b981, #059669);
            color: #ffffff;
            padding: 0.5rem 1rem;
            border-radius: 2rem;
            font-size: 0.8rem;
            font-weight: 700;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        }

/* ===================
   ICONOS Y CONTENIDO DEL RESUMEN
=================== */

.summary-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: #ffffff;
    position: relative;
}

.traditional-summary .summary-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.modern-summary .summary-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.impact-summary .summary-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.summary-card h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

/* ===================
   LISTAS DEL RESUMEN
=================== */

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

    .summary-list li {
        color: rgba(255, 255, 255, 0.9);
        padding: 0.5rem 0;
        display: flex;
        align-items: center;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .summary-list li:last-child {
            border-bottom: none;
        }

        .summary-list li i {
            width: 20px;
            flex-shrink: 0;
        }

/* ===================
   MÉTRICAS DE IMPACTO
=================== */

.impact-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

    .metric:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: scale(1.02);
    }

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.metric-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===================
   RESPONSIVE DESIGN
=================== */

/* Tablets */
@media (max-width: 992px) {
    .comparison-header-modern,
    .comparison-row-modern {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .header-cell,
    .cell {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem;
    }

        .header-cell:last-child,
        .cell:last-child {
            border-bottom: none;
        }

        .cell.aspect {
            text-align: center;
            align-items: center;
        }

    .comparison-row-modern {
        margin-bottom: 1rem;
        border-radius: 1rem;
        overflow: hidden;
    }

    .improvement-badge {
        margin-top: 0.5rem;
        display: inline-block;
    }
}

/* Móviles */
@media (max-width: 768px) {
    .global-comparison-improved h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .comparison-table-modern {
        margin: 0 -0.5rem;
        border-radius: 1rem;
    }

    .header-cell,
    .cell {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .improvement-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .summary-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .summary-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .summary-card h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .metric {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .metric-value {
        font-size: 1.25rem;
    }

    .metric-label {
        font-size: 0.8rem;
    }
}

/* Móviles pequeños */
@media (max-width: 576px) {
    .global-comparison-improved {
        padding: 2rem 0;
    }

        .global-comparison-improved h2 {
            font-size: 1.75rem;
        }

    .comparison-table-modern {
        margin: 0 -0.75rem;
    }

    .header-cell,
    .cell {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .improvement-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .cell small {
        font-size: 0.7rem;
    }

    .summary-card {
        padding: 1.25rem;
    }

    .summary-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .featured-badge {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.8rem !important;
        top: -10px !important;
        right: 15px !important;
    }
}

/* ===================
   ANIMACIONES ADICIONALES
=================== */

/* Animación de entrada para las filas */
.comparison-row-modern {
    opacity: 0;
    transform: translateY(20px);
    animation: rowFadeIn 0.6s ease-out forwards;
}

@keyframes rowFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de los badges */
.improvement-badge {
    animation: badgeFloat 6s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-2px);
    }
}

/* Efecto de hover para la tabla completa */
.comparison-table-modern:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* ===================
   ACCESIBILIDAD
=================== */

.improvement-badge:focus,
.summary-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Modo alto contraste */
@media (prefers-contrast: high) {
    .comparison-table-modern {
        border: 2px solid #ffffff;
    }

    .header-cell,
    .cell {
        border-color: #ffffff;
    }

    .value-negative {
        color: #ff0000;
    }

    .value-positive {
        color: #00ff00;
    }
}

/* ===================
   EFECTOS ESPECIALES
=================== */

/* Partículas flotantes para el fondo (opcional) */
.global-comparison-improved::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 50px 50px;
    animation: particleMove 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes particleMove {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-50px);
    }
}

.navbar .btn.btn-primary.rounded-pill.px-4.ms-2 {
    /* Resetear todos los estilos personalizados que pueden interferir */
    padding: 0.375rem 1.5rem !important; /* px-4 = 1.5rem en Bootstrap */
    font-size: 1rem !important;
    font-weight: 400 !important; /* Bootstrap default, no 600 */
    line-height: 1.5 !important;
    height: auto !important;
    min-height: auto !important;
    /* Asegurar que use los colores exactos de Bootstrap */
    background-color: var(--bs-primary, #0d6efd) !important;
    border-color: var(--bs-primary, #0d6efd) !important;
    /* Mantener transición Bootstrap estándar */
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
    /* Eliminar estilos personalizados que puedan interferir */
    position: static !important;
    overflow: visible !important;
    text-decoration: none !important;
    transform: none !important;
    box-shadow: none !important;
}

    .navbar .btn.btn-primary.rounded-pill.px-4.ms-2:hover {
        background-color: #0b5ed7 !important;
        border-color: #0a58ca !important;
        transform: none !important; /* Eliminar cualquier transformación hover */
        box-shadow: none !important;
    }

    .navbar .btn.btn-primary.rounded-pill.px-4.ms-2:focus {
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
    }

    /* Asegurar que no herede estilos de .btn globales */
    .navbar .btn.btn-primary.rounded-pill.px-4.ms-2::before {
        display: none !important;
    }