/* ========================================
   TEMA ULTRA MODERNO (V4) - Variables CSS
   ======================================== */
:root {
    /* Colores principales */
    --primary-color: #4F46E5;
    --primary-light: #6366F1;
    --primary-dark: #4338CA;
    --secondary-color: #10B981;
    --secondary-light: #34D399;
    --accent-color: #F59E0B;
    
    /* Gradientes premium */
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --gradient-secondary: linear-gradient(135deg, #10B981 0%, #14B8A6 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    --gradient-bg: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 50%, #F0FDF4 100%);
    
    /* Sombras premium */
    --shadow-sm: 0 2px 8px rgba(79, 70, 229, 0.08);
    --shadow-md: 0 8px 24px rgba(79, 70, 229, 0.12);
    --shadow-lg: 0 16px 48px rgba(79, 70, 229, 0.18);
    --shadow-xl: 0 24px 64px rgba(79, 70, 229, 0.24);
    
    /* Bordes */
    --border-radius-sm: 12px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Tipografía */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Espaciado */
    --spacing-unit: 1rem;
}

/* ========================================
   ESTILOS GENERALES
   ======================================== */
body {
    font-family: var(--font-family);
    background: var(--gradient-bg);
    color: #1F2937;
    line-height: 1.6;
    min-height: 100vh;
}

/* Override del padding de secciones del theme-fallback */
section {
    padding: 0 !important;
}

/* Secciones del CMS sin padding */
.cms-section {
    padding: 0rem 0;
}

/* ========================================
   PÁGINA DE RESULTADOS
   ======================================== */

/* Header de resultados premium */
.results-header {
    background: var(--gradient-primary);
    padding: 4rem 2rem 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.results-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.results-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin: 0 0 1rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.results-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 500;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.search-info {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius-md);
    padding: 1.25rem 2rem;
    margin-top: 2rem;
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Contenedor de resultados */
.results-container {
    max-width: 1280px;
    margin: -2rem auto 4rem;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

/* Grid de tarjetas premium */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(520px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Tarjetas de producto premium */
.result-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(79, 70, 229, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(79, 70, 229, 0.3);
}

.result-card:hover::before {
    transform: scaleX(1);
}

/* Tarjeta destacada */
.result-card.featured {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, rgba(124, 58, 237, 0.02) 100%);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.result-card.featured::before {
    transform: scaleX(1);
    height: 6px;
}

/* Badge recomendado premium */
.recommended-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.recommended-badge::before {
    content: '⭐';
    font-size: 1rem;
}

/* Sección de compañía */
.company-section {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1.25rem;
}

.company-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    padding: 0.5rem;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
}

.company-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.01em;
}

.company-product-name {
    font-size: 0.95rem;
    color: #6B7280;
    font-weight: 500;
}

/* Sección de precio premium */
.price-section {
    text-align: right;
    padding: 1.5rem;
    background: var(--gradient-bg);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.price-label {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: -0.03em;
}

.price-period {
    font-size: 1.1rem;
    color: #6B7280;
    font-weight: 600;
}

.price-total {
    font-size: 0.9rem;
    color: #9CA3AF;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Características del producto */
.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #F9FAFB;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(79, 70, 229, 0.05);
    transform: translateX(4px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-label {
    font-size: 0.85rem;
    color: #4B5563;
    font-weight: 500;
}

.feature-value {
    font-size: 0.9rem;
    color: #111827;
    font-weight: 600;
}

/* Botones premium */
.card-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

.btn-primary {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    flex: 1;
    padding: 1rem 1.5rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

/* Estado sin resultados */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 3rem auto;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: grayscale(20%);
}

.no-results-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-results-message {
    font-size: 1.1rem;
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Ayuda flotante */
.help-section {
    background: var(--gradient-secondary);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-top: 3rem;
    box-shadow: var(--shadow-lg);
}

.help-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.help-message {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.help-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.help-btn {
    padding: 1rem 2rem;
    background: white;
    color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.help-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    animation: fadeInUp 0.5s ease-out backwards;
}

.result-card:nth-child(1) { animation-delay: 0.1s; }
.result-card:nth-child(2) { animation-delay: 0.2s; }
.result-card:nth-child(3) { animation-delay: 0.3s; }
.result-card:nth-child(4) { animation-delay: 0.4s; }
.result-card:nth-child(5) { animation-delay: 0.5s; }
.result-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .results-title {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .company-section {
        flex-direction: column;
        text-align: center;
    }
    
    .price-section {
        text-align: center;
    }
}

/* ========================================
   HEADER PRINCIPAL ULTRA THEME
   ======================================== */

/* Header transparente con efecto glassmorphism - Los estilos inline del CMS tienen prioridad */
.cms-header.theme-ultra {
    /* Estilos por defecto - serán sobrescritos por los estilos inline del CMS */
    background: rgb(59 130 246 / 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 94px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Espaciado del body para header fijo - ULTRA THEME */
body.theme-ultra,
html body {
    padding-top: 94px; /* Espacio exacto para el header de 94px - se ajustará según config CMS */
}

/* Logo y título premium */
.site-title {
    color: white;
    font-weight: 800;
    font-size: 1.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

/* Navegación premium */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
    backdrop-filter: blur(8px);
}

/* Botón CTA premium naranja */
.navbar-nav .btn-primary,
.cms-header.theme-ultra .btn-primary {
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%) !important;
    border: none !important;
    padding: 0.75rem 2rem !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: white !important;
}

.navbar-nav .btn-primary:hover,
.cms-header.theme-ultra .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
    background: linear-gradient(135deg, #D97706 0%, #EA580C 100%) !important;
}

/* Responsive header */
@media (max-width: 768px) {
    .cms-header.theme-ultra {
        height: 60px !important;
    }
    
    body.theme-ultra,
    html body {
        padding-top: 60px !important;
    }
    
    .site-title {
        font-size: 1.5rem !important;
    }
}

/* ========================================
   SECCIÓN HERO CON FORMULARIO (ULTRA)
   ======================================== */

.section.hero-with-form-ultra {
    background: linear-gradient(135deg, #7C7BE8 0%, #A78BFA 100%);
    padding: 4rem 2rem;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.section.hero-with-form-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-ultra-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-ultra-content {
    color: white;
}

.hero-ultra-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}

.hero-ultra-subtitle {
    font-size: 1.25rem;
    opacity: 1;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
    color: #FFFFFF;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-ultra-form {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-ultra-form h3,
.hero-ultra-form h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.hero-ultra-form .form-group {
    margin-bottom: 1.25rem;
}

.hero-ultra-form label {
    display: block;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.hero-ultra-form input,
.hero-ultra-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #9CA3AF;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #111827;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-ultra-form input:hover,
.hero-ultra-form select:hover {
    border-color: #6B7280;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.hero-ultra-form input:focus,
.hero-ultra-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15), 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hero-ultra-form input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

/* Estilos específicos para input[type="date"] */
.hero-ultra-form input[type="date"] {
    color: #111827;
    font-family: var(--font-family);
}

.hero-ultra-form input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.7;
    filter: invert(0.5);
}

.hero-ultra-form input[type="date"]:hover::-webkit-calendar-picker-indicator {
    opacity: 1;
}

.hero-ultra-form button[type="submit"],
.hero-ultra-form .btn-primary {
    width: 100%;
    padding: 1.125rem 1.5rem;
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-ultra-form button[type="submit"]:hover,
.hero-ultra-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
}

/* Trust badges del formulario */
.hero-ultra-form .trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

.hero-ultra-form .trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 500;
}

/* Estilos del formulario de cotización */
.ultra-quote-form {
    width: 100%;
}

.ultra-quote-form .form-group {
    margin-bottom: 1.25rem;
}

.ultra-quote-form .form-group:last-of-type {
    margin-bottom: 0;
}

/* Wrapper para fecha de nacimiento con botón + */
.fecha-input-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.fecha-input-wrapper input[type="date"] {
    flex: 1;
}

/* Botón + para agregar persona */
.btn-add-fecha,
.btn-remove-fecha {
    width: 45px;
    height: auto;
    min-height: 45px;
    padding: 0;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.3);
}

.btn-remove-fecha {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.3);
}

.btn-add-fecha:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4);
}

.btn-remove-fecha:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.fecha-group {
    animation: fadeInSlide 0.3s ease-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .hero-ultra-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-ultra-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-ultra-subtitle {
        text-align: center;
    }
}

/* ========================================
   SECCIÓN FEATURES CARDS (ULTRA)
   ======================================== */

.section.features-cards-ultra {
    padding: 5rem 2rem;
    background: white;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.features-ultra-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.features-ultra-subtitle {
    font-size: 1.15rem;
    color: #6B7280;
    margin: 0 0 3rem 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-ultra-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-ultra-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid #F3F4F6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-ultra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-ultra-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.feature-ultra-card:hover::before {
    transform: scaleX(1);
}

.feature-ultra-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
}

.feature-ultra-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem 0;
}

.feature-ultra-card-desc {
    font-size: 1rem;
    color: #6B7280;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 992px) {
    .features-ultra-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ========================================
   SECCIÓN LOGOS DE COMPAÑÍAS (ULTRA)
   ======================================== */

.section.companies-logos-ultra {
    padding: 3rem 2rem;
    background: #F9FAFB;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.companies-ultra-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6B7280;
    margin: 0 0 2rem 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.companies-ultra-logos {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.company-ultra-logo {
    flex: 0 0 auto;
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.company-ultra-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.company-ultra-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.company-ultra-logo span {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #374151;
    padding: 0.5rem 1.5rem;
}

@media (max-width: 768px) {
    .companies-ultra-logos {
        gap: 2rem;
    }
    
    .company-ultra-logo img {
        height: 40px;
    }
}



/* ========================================== PÁGINA DE RESULTADOS - TEMA ULTRA ========================================== */

    .theme-ultra:root {
        --primary-color: #4F46E5;
        --primary-light: #6366F1;
        --primary-dark: #4338CA;
        --secondary-color: #10B981;
        --secondary-light: #34D399;
        --accent-color: #F59E0B;
        --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
        --gradient-secondary: linear-gradient(135deg, #10B981 0%, #14B8A6 100%);
        --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
        --gradient-bg: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 50%, #F0FDF4 100%);
        --shadow-sm: 0 2px 8px rgba(79, 70, 229, 0.08);
        --shadow-md: 0 8px 24px rgba(79, 70, 229, 0.12);
        --shadow-lg: 0 16px 48px rgba(79, 70, 229, 0.18);
        --shadow-xl: 0 24px 64px rgba(79, 70, 229, 0.24);
        --border-radius-sm: 12px;
        --border-radius-md: 16px;
        --border-radius-lg: 24px;
        --spacing-unit: 1rem;
    }
    
    .theme-ultra body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        background: var(--gradient-bg);
        color: #1F2937;
        line-height: 1.6;
    }
    
    /* Header de resultados premium */
    .results-header {
        background: var(--gradient-primary);
        padding: 4rem 2rem 3rem;
        text-align: center;
        color: white;
        position: relative;
        overflow: hidden;
    }
    
    .results-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.4;
    }
    
    .results-title {
        font-size: 2.75rem;
        font-weight: 800;
        margin: 0 0 1rem;
        text-shadow: 0 4px 12px rgba(0,0,0,0.2);
        position: relative;
        z-index: 1;
        letter-spacing: -0.02em;
    }
    
    .results-subtitle {
        font-size: 1.25rem;
        opacity: 0.95;
        font-weight: 500;
        position: relative;
        z-index: 1;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .search-info {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(12px);
        border-radius: var(--border-radius-md);
        padding: 1.25rem 2rem;
        margin-top: 2rem;
        display: inline-block;
        font-size: 0.95rem;
        font-weight: 500;
        position: relative;
        z-index: 1;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    /* Contenedor de resultados */
    .results-container {
        max-width: 1280px;
        margin: -2rem auto 4rem;
        padding: 0 2rem;
        position: relative;
        z-index: 10;
    }
    
    /* Grid de tarjetas premium */
    .cards-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(520px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }
    
    @media (max-width: 1200px) {
        .cards-grid {
            grid-template-columns: 1fr;
        }
    }
    
    /* Tarjetas de producto premium */
    .result-card {
        background: white;
        border-radius: var(--border-radius-lg);
        padding: 2rem;
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(79, 70, 229, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .result-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .result-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: rgba(79, 70, 229, 0.3);
    }
    
    .result-card:hover::before {
        transform: scaleX(1);
    }
    
    /* Tarjeta destacada */
    .result-card.featured {
        background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, rgba(124, 58, 237, 0.02) 100%);
        border: 2px solid var(--primary-color);
        box-shadow: var(--shadow-lg);
        transform: scale(1.02);
    }
    
    .result-card.featured::before {
        transform: scaleX(1);
        height: 6px;
    }
    
    /* Badge recomendado premium */
    .recommended-badge {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: var(--gradient-secondary);
        color: white;
        padding: 0.6rem 1.2rem;
        border-radius: 30px;
        font-size: 0.85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }
    
    .recommended-badge::before {
        content: 'Ã¢Â­Â';
        font-size: 1rem;
    }
    
    /* SecciÃƒÂ³n de compaÃƒÂ±ÃƒÂ­a */
    .company-section {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
        gap: 1.25rem;
    }
    
    .company-logo {
        height: 50px;
        width: auto;
        object-fit: contain;
        border-radius: var(--border-radius-sm);
        padding: 0.5rem;
        background: #F9FAFB;
        border: 1px solid #E5E7EB;
    }
    
    .company-info h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-color);
        margin: 0 0 0.25rem 0;
        letter-spacing: -0.01em;
    }
    
    .company-.theme-ultra .product-name {
        font-size: 0.95rem;
        color: #6B7280;
        font-weight: 500;
    }
    
    /* SecciÃƒÂ³n de precio premium */
    .price-section {
        text-align: right;
        padding: 1.5rem;
        background: var(--gradient-bg);
        border-radius: var(--border-radius-md);
        border: 1px solid rgba(79, 70, 229, 0.1);
    }
    
    .price-label {
        font-size: 0.85rem;
        color: #6B7280;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
    }
    
    .price-amount {
        font-size: 3rem;
        font-weight: 800;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1;
        margin-bottom: 0.25rem;
        letter-spacing: -0.03em;
    }
    
    .price-period {
        font-size: 1.1rem;
        color: #6B7280;
        font-weight: 600;
    }
    
    .price-total {
        font-size: 0.9rem;
        color: #9CA3AF;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    /* CaracterÃƒÂ­sticas del producto */
    .product-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .feature-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
        background: #F9FAFB;
        border-radius: var(--border-radius-sm);
        transition: all 0.3s ease;
    }
    
    .feature-item:hover {
        background: rgba(79, 70, 229, 0.05);
        transform: translateX(4px);
    }
    
    .feature-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--gradient-primary);
        color: white;
        border-radius: 8px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .feature-label {
        font-size: 0.85rem;
        color: #4B5563;
        font-weight: 500;
    }
    
    .feature-value {
        font-size: 0.9rem;
        color: #111827;
        font-weight: 600;
    }
    
    /* Botones premium */
    .card-actions {
        display: flex;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid #E5E7EB;
    }
    
    .btn-primary {
        flex: 1;
        padding: 1rem 1.5rem;
        background: var(--gradient-primary);
        color: white;
        border: none;
        border-radius: var(--border-radius-md);
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .btn-primary::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.5s;
    }
    
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
    }
    
    .btn-primary:hover::before {
        left: 100%;
    }
    
    .btn-secondary {
        flex: 1;
        padding: 1rem 1.5rem;
        background: white;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
        border-radius: var(--border-radius-md);
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .btn-secondary:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
    }
    
    /* Estado sin resultados */
    .no-results {
        text-align: center;
        padding: 4rem 2rem;
        background: white;
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow-md);
        max-width: 600px;
        margin: 3rem auto;
    }
    
    .no-.theme-ultra .results-icon {
        font-size: 4rem;
        margin-bottom: 1.5rem;
        filter: grayscale(20%);
    }
    
    .no-.theme-ultra .results-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }
    
    .no-.theme-ultra .results-message {
        font-size: 1.1rem;
        color: #6B7280;
        line-height: 1.7;
        margin-bottom: 2rem;
    }
    
    /* Ayuda flotante */
    .help-section {
        background: var(--gradient-secondary);
        color: white;
        padding: 3rem 2rem;
        border-radius: var(--border-radius-lg);
        text-align: center;
        margin-top: 3rem;
        box-shadow: var(--shadow-lg);
    }
    
    .help-title {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }
    
    .help-message {
        font-size: 1.1rem;
        opacity: 0.95;
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .help-actions {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .help-btn {
        padding: 1rem 2rem;
        background: white;
        color: var(--secondary-color);
        border: none;
        border-radius: var(--border-radius-md);
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }
    
    .help-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }
    
    /* Animaciones */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .result-card {
        animation: fadeInUp 0.5s ease-out backwards;
    }
    
    .result-card:nth-child(1) { animation-delay: 0.1s; }
    .result-card:nth-child(2) { animation-delay: 0.2s; }
    .result-card:nth-child(3) { animation-delay: 0.3s; }
    .result-card:nth-child(4) { animation-delay: 0.4s; }
    .result-card:nth-child(5) { animation-delay: 0.5s; }
    .result-card:nth-child(6) { animation-delay: 0.6s; }
    
    /* Responsive */
    @media (max-width: 768px) {
        .results-title {
            font-size: 2rem;
        }
        
        .price-amount {
            font-size: 2.5rem;
        }
        
        .product-features {
            grid-template-columns: 1fr;
        }
        
        .card-actions {
            flex-direction: column;
        }
        
        .company-section {
            flex-direction: column;
            text-align: center;
        }
        
        .price-section {
            text-align: center;
        }
    }

/* ========================================
   FOOTER ULTRA THEME
   ======================================== */
.theme-ultra .cms-footer,
.cms-footer.theme-ultra {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%) !important;
    border-top: 3px solid var(--primary-color) !important;
    color: #e0e7ff !important;
    position: relative;
    overflow: hidden;
}

.theme-ultra .cms-footer::before,
.cms-footer.theme-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.theme-ultra .cms-footer .container,
.cms-footer.theme-ultra .container {
    position: relative;
    z-index: 1;
}

.theme-ultra .cms-footer-column h3,
.cms-footer.theme-ultra .cms-footer-column h3,
.theme-ultra .cms-footer-heading,
.cms-footer.theme-ultra .cms-footer-heading {
    color: #ffffff !important;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.theme-ultra .cms-footer-links,
.cms-footer.theme-ultra .cms-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.theme-ultra .cms-footer-links li,
.cms-footer.theme-ultra .cms-footer-links li {
    margin-bottom: 0.75rem;
}

.theme-ultra .cms-footer-links a,
.cms-footer.theme-ultra .cms-footer-links a {
    color: #c7d2fe !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.theme-ultra .cms-footer-links a:hover,
.cms-footer.theme-ultra .cms-footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

.theme-ultra .cms-footer-social,
.cms-footer.theme-ultra .cms-footer-social {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.theme-ultra .cms-social-link,
.cms-footer.theme-ultra .cms-social-link {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    border: none !important;
}

.theme-ultra .cms-social-link:hover,
.cms-footer.theme-ultra .cms-social-link:hover {
    background: var(--gradient-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.theme-ultra .cms-footer-copyright,
.cms-footer.theme-ultra .cms-footer-copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    text-align: center;
}

.theme-ultra .cms-footer-copyright p,
.cms-footer.theme-ultra .cms-footer-copyright p {
    color: #a5b4fc !important;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive del footer */
@media (max-width: 768px) {
    .theme-ultra .cms-footer .grid,
    .cms-footer.theme-ultra .grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    .theme-ultra .cms-footer .grid,
    .cms-footer.theme-ultra .grid {
        grid-template-columns: 1fr !important;
    }
}

