/**
 * Vacuum Comparator - Frontend Comparison Styles
 * Estilos para la página de comparación de robots
 */

.comparison-results-pro {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Hero */
.comparison-hero {
    text-align: center;
    margin-bottom: 48px;
    padding: 48px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.comparison-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.model-name {
    color: white;
}

.vs-text {
    font-size: 24px;
    opacity: 0.8;
    font-weight: 400;
    padding: 0 12px;
}

.comparison-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

/* Product Cards */
.products-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    position: relative;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.12);
}

.product-card.best-price {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.best-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: #10b981;
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
}

.price-box {
    margin-bottom: 20px;
}

.price-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

/* Badge de descuento */
.discount-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
    transition: transform 0.2s ease;
}

.discount-badge:hover {
    transform: scale(1.05);
}

.btn-amazon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: #FF9900;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s;
}

.btn-amazon:hover {
    background: #e88a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 153, 0, 0.3);
    color: white;
}

.price-unavailable {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: #f1f5f9;
    border-radius: 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.price-unavailable svg {
    color: #94a3b8;
    flex-shrink: 0;
}

/* Estilos para imágenes de productos */
.product-image {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 12px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    transition: transform 0.2s;
}

.product-image img:hover {
    transform: scale(1.05);
}

/* Contenedor de galería */
.product-image-gallery {
    position: relative;
}

/* Flechas de navegación */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: #1e293b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    padding: 0;
    flex-shrink: 0;
}

.product-image-gallery:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: white;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-prev {
    left: -50px;
}

.gallery-next {
    right: -50px;
}

.gallery-nav svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    display: block;
}

/* Contador de imágenes */
.image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.image-counter::before {
    content: '📷';
    font-size: 14px;
}

.current-image {
    font-weight: 800;
    font-size: 14px;
}

/* Animación de cambio de imagen */
.gallery-main-image {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    width: 100%;
}

.gallery-main-image.changing {
    opacity: 0;
    transform: scale(0.98);
}

.product-image-gallery:hover .gallery-main-image {
    transform: scale(1.02);
}

/* TABLA MODERNA MEJORADA Y EQUILIBRADA */
.comparison-table-modern {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 48px;
}

.table-header {
    margin-bottom: 32px;
    text-align: center;
}

.table-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.table-header p {
    color: #64748b;
    margin: 0;
}

.spec-section {
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.section-header {
    display: block;
    padding: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    cursor: pointer;
    transition: background 0.2s;
}

.section-header:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.section-header-grid {
    display: grid;
    grid-template-columns: 40% repeat(auto-fit, minmax(0, 1fr));
    align-items: center;
    width: 100%;
}

/* Grid específico para 2 robots */
.section-header-grid:has(.section-robot-col:nth-child(3):last-child) {
    grid-template-columns: 40% 30% 30%;
}

/* Grid específico para 3 robots */
.section-header-grid:has(.section-robot-col:nth-child(4):last-child) {
    grid-template-columns: 40% 20% 20% 20%;
}

.section-title-col {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-right: 2px solid #e2e8f0;
}

.section-title-col h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.section-robot-col {
    padding: 20px 24px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: #667eea;
    border-right: 2px solid #e2e8f0;
}

.section-robot-col:last-child {
    border-right: none;
}

.section-header .chevron {
    transition: transform 0.3s;
    color: #64748b;
}

.spec-section.collapsed .section-header .chevron {
    transform: rotate(-90deg);
}

.section-content {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.spec-section.collapsed .section-content {
    max-height: 0;
}

/* TABLA CON DISEÑO EQUILIBRADO */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-row {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.spec-row:hover {
    background: #f8fafc;
}

.spec-row.has-diff {
    background: #fef3c7;
}

.spec-row.has-diff:hover {
    background: #fde68a;
}

/* COLUMNA DE ETIQUETAS - DISEÑO MEJORADO */
.spec-label {
    padding: 16px 20px;
    font-weight: 600;
    color: #475569;
    width: 40%;
    max-width: 400px;
    vertical-align: middle;
    position: relative;
}

.spec-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.spec-label-text {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.4;
}

.diff-badge {
    background: #f59e0b;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.not-specified {
    color: #94a3b8;
    font-style: italic;
}

/* SISTEMA DE TOOLTIPS MEJORADO */
.spec-help-container {
    flex-shrink: 0;
    position: relative;
}

.spec-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 50%;
    cursor: help;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s;
    position: relative;
}

.spec-help-icon:hover {
    background: #667eea;
    color: white;
    transform: scale(1.15);
}

/* Tooltip - ESCRITORIO */
.spec-help-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: #1e293b;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    width: 280px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    white-space: normal;
    pointer-events: none;
}

.spec-help-icon:hover::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #1e293b;
    z-index: 1001;
}

/* COLUMNAS DE VALORES - EQUILIBRADAS */
.spec-value {
    padding: 16px 20px;
    color: #1e293b;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    width: calc(60% / var(--num-vacuums, 2));
}

/* Ocultar nombre del robot en escritorio */
.robot-name-mobile {
    display: none;
}

/* CTA Final */
.final-cta {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
}

.final-cta h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.final-cta p {
    color: #64748b;
    margin: 0 0 32px 0;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-amazon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 32px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    min-width: 250px;
}

.cta-amazon:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #FF9900;
}

.cta-amazon.recommended {
    background: linear-gradient(135deg, #FF9900 0%, #ff7b00 100%);
    border-color: transparent;
    color: white;
}

.cta-badge {
    position: absolute;
    top: -12px;
    background: white;
    color: #FF9900;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.cta-model {
    font-weight: 700;
    font-size: 16px;
    color: inherit;
}

.cta-price {
    font-size: 24px;
    font-weight: 800;
    color: inherit;
}

.cta-amazon.recommended .cta-model,
.cta-amazon.recommended .cta-price {
    color: white;
}

/* RESPONSIVE - Tablet */
@media (max-width: 1024px) {
    .spec-label {
        width: 45%;
    }
    
    .spec-value {
        width: calc(55% / var(--num-vacuums, 2));
    }
    
    .spec-help-icon:hover::after {
        left: auto;
        right: 30px;
        width: 250px;
    }
    
    .spec-help-icon:hover::before {
        left: auto;
        right: 22px;
        border-right-color: transparent;
        border-left-color: #1e293b;
    }
}

/* RESPONSIVE - Mobile */
@media (max-width: 768px) {
    .comparison-results-pro {
        padding: 0 16px;
    }

    /* HERO CON ANCHO COMPLETO */
    .comparison-hero {
        margin: 0 -16px 32px -16px;
        padding: 32px 20px;
        border-radius: 0;
    }
    
    .comparison-title {
        font-size: 24px;
    }
    
    .vs-text {
        display: block;
        margin: 8px 0;
    }
    
    /* PRODUCTS CARDS */
    .products-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 0 -16px 32px -16px;
        padding: 0 16px;
    }
    
    .product-card {
        padding: 24px;
    }

    .product-image {
        padding: 8px;
        margin-bottom: 16px;
    }
    
    .product-image img {
        max-height: 220px;
    }

    .discount-badge {
        font-size: 13px;
        padding: 3px 10px;
        margin-top: 6px;
    }
    
    /* TABLA */
    .comparison-table-modern {
        padding: 20px;
        margin: 0 -16px 48px -16px;
        border-radius: 20px 20px 0 0;
        width: calc(100% + 32px);
        box-sizing: border-box;
    }
    
    /* TOOLTIPS MÓVIL - ELEMENTO DOM REAL */
    
    /* Ocultar tooltips de escritorio */
    .spec-help-icon:hover::after,
    .spec-help-icon:hover::before {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        content: none !important;
    }
    
    /* Icono táctil mejorado */
    .spec-help-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        
        position: relative !important;
        
        border: 2px solid #667eea !important;
        background: white !important;
        color: #667eea !important;
        border-radius: 50% !important;
        
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(102, 126, 234, 0.3) !important;
        user-select: none !important;
        pointer-events: auto !important;
        
        transition: all 0.2s ease !important;
        
        flex-shrink: 0 !important;
        margin: 0 4px !important;
        z-index: 100 !important;
    }

    /* Área táctil invisible más grande */
    .spec-help-icon::after {
        content: '' !important;
        position: absolute !important;
        top: -10px !important;
        left: -10px !important;
        right: -10px !important;
        bottom: -10px !important;
        border-radius: 50% !important;
    }

    .spec-help-icon::before {
        display: none !important;
    }
    
    /* Estado activo */
    .spec-help-icon.active {
        background: #667eea !important;
        border-color: #667eea !important;
        color: white !important;
        transform: scale(1.05) !important;
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.7) !important;
        z-index: 999999 !important;
    }

    .spec-help-icon.active::before,
    .spec-help-icon.active::after {
        display: none !important;
        content: none !important;
    }
    
    /* Overlay de fondo */
    .mobile-tooltip-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
        z-index: 999998 !important;
        display: none !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
        touch-action: none !important;
    }

    .mobile-tooltip-overlay.active {
        display: block !important;
        opacity: 1 !important;
    }

    /* Tooltip modal */
    .mobile-tooltip-modal {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(0.8) !important;
        
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
        color: white !important;
        padding: 28px 32px !important;
        border-radius: 20px !important;
        
        width: 88% !important;
        max-width: 400px !important;
        min-height: 100px !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        
        z-index: 999999 !important;
        
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.9),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
        
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 1.6 !important;
        text-align: left !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
        
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        
        touch-action: manipulation !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: text !important;
        user-select: text !important;
    }

    .mobile-tooltip-modal.visible {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }

    /* Botón de cerrar */
    .mobile-tooltip-close {
        position: absolute !important;
        top: 12px !important;
        right: 16px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: white !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        z-index: 1000000 !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .mobile-tooltip-close:hover,
    .mobile-tooltip-close:active {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: scale(1.1) !important;
    }
    
    /* TABLA RESPONSIVE */
    .specs-table {
        display: block !important;
        font-size: 14px;
        width: 100%;
        overflow: visible;
        white-space: normal;
    }

    /* Ocultar nombres de robots en el header en móvil */
    .section-robot-col {
        display: none !important;
    }

    .section-header-grid {
        display: block !important;
    }

    .section-title-col {
        border-right: none !important;
    }
    
    .spec-row {
        display: block !important;
        width: 100% !important;
        margin-bottom: 16px !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        background: white !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }
    
    .spec-row.has-diff {
        border-color: #f59e0b !important;
        background: #fffbeb !important;
    }
    
    .spec-label {
        display: block !important;
        width: 100% !important;
        padding: 16px !important;
        background: #f8fafc !important;
        border-bottom: 1px solid #e2e8f0 !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        color: #1e293b !important;
        text-align: left !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .spec-row.has-diff .spec-label {
        background: #fef3c7 !important;
    }
    
    .spec-value {
        display: block !important;
        width: 100% !important;
        padding: 14px 16px !important;
        background: white !important;
        font-size: 14px !important;
        text-align: left !important;
        border-bottom: 1px solid #f1f5f9 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        font-weight: 500 !important;
        color: #374151 !important;
    }

    /* Mostrar nombre del robot en móvil */
    .robot-name-mobile {
        display: inline !important;
        font-weight: 700 !important;
        color: #667eea !important;
        font-size: 13px !important;
        margin-right: 6px !important;
    }

    .value-content {
        display: inline !important;
        color: #1e293b !important;
        font-weight: 500 !important;
    }

    .spec-value:last-child {
        border-bottom: none !important;
    }
    
    /* CTA FINAL */
    .final-cta {
        margin: 0 -16px 0 -16px;
        border-radius: 0;
        padding: 32px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-amazon {
        width: 100%;
    }

    .price-unavailable {
        font-size: 13px;
        padding: 14px;
    }
    
    /* Secciones táctiles */
    .section-header {
        padding: 0 !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2) !important;
    }

    .section-title-col {
        padding: 18px 20px !important;
    }

    .section-header:active {
        background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
    }
}

/* RESPONSIVE - Mobile muy pequeño */
@media (max-width: 480px) {
    .comparison-results-pro {
        padding: 0 12px;
    }
    
    .comparison-hero {
        margin: 0 -12px 32px -12px;
    }
    
    .products-cards {
        margin: 0 -12px 32px -12px;
        padding: 0 12px;
    }
    
    .comparison-table-modern {
        margin: 0 -12px 48px -12px;
        padding: 16px;
        width: calc(100% + 24px);
    }
    
    .final-cta {
        margin: 0 -12px 0 -12px;
    }
    
    .mobile-tooltip-modal {
        width: 92% !important;
        max-width: 340px !important;
        padding: 24px 28px !important;
        font-size: 15px !important;
    }
    
    .mobile-tooltip-close {
        top: 10px !important;
        right: 14px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 16px !important;
    }
}

/* ========================================
   EFICIENCIA ENERGÉTICA
   ======================================== */

.efficiency-score {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.efficiency-score.excellent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.efficiency-score.good {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.efficiency-score.medium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.efficiency-score.low {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.efficiency-na {
    color: #9ca3af;
    font-style: italic;
    font-size: 14px;
}

@media (max-width: 768px) {
    .efficiency-score {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* ========================================
   CONTENIDO SEO GENERADO CON CLAUDE AI
   ======================================== */

.seo-content-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 48px;
}

.seo-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}

.seo-content-wrapper h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin: 48px 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 3px solid #e2e8f0;
    position: relative;
}

.seo-content-wrapper h2:first-child {
    margin-top: 0;
}

.seo-content-wrapper h2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.seo-content-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: #334155;
    margin: 32px 0 16px 0;
}

.seo-content-wrapper p {
    margin: 20px 0;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .seo-content-section {
        padding: 24px 20px;
        margin: 0 -16px 32px -16px;
        border-radius: 0;
    }
}